Every time new versions of browsers appear, I hear about the addition of new material, for example, webGL and other technologies that no one knows if they catch up.
But I'm wondering if anyone was thinking about such basic things in JS as hash functions (MD5, SHA1, etc.).
In the latest browsers, I mean development versions today, such as Opera 12, Chrome 17 or Firefox 10.
Looking now at the solution, I found this comment on another post here: https://stackoverflow.com/questions/7204097/short-hashing-function-for-javascript ( Do you know that javascript objects are already hashtables? ). So what are these hash tables? Does this mean that I can make any line in the hash, but not set, for example, md5 or sha1, but some JS are built in a specific one?
basically what i need to do:
var txt="Hello world!"; var hash = txt.toSha1();
rsk82 source share