Skip to content
/ jsHash Public

Non-asynchronous hash function in Javascript

Notifications You must be signed in to change notification settings

jbwx/jsHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

jsHash v0.2

Non-asynchronous hash function in Javascript.

Details

Takes an object of any size, and returns a pseudorandom 16-digit hexadecimal string.

Usage

<script src="https://jbwx.github.io/jsHash/jsHash.js"></script>
hash("Hello, world!");

Notes

This is not proven in any way to be mathematically sound. There is no guarantee that all outputs are equally likely, or that every output is possible. The output appears to be random from the limited tests I’ve done, although it’s unlikely there isn’t some sort of underlying pattern. Do not use this in any security-critical application.

About

Non-asynchronous hash function in Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published