Call the function with your string to be hashed and the algorithm to hash it ("This is a Test" and "SHA-512" were used below, respectively):
var hash = hex_sha("This is a Test", "SHA-512");
What's New in This Release: [ read full changelog ]
· The way that classes are declared was changed.
· Several methods and properties were moved to class scope, reducing overall memory usage of the library.
· Several small optimizations that speed up the hash generation were also made.