Cryptographic hash functions are very interesting creatures as they allow us to turn text and binary strings into hash values of a fixed size with a minimal number of collisions (meaning two strings that result in the same hash value). The string we enter into this hash function may be smaller or even considerably larger than the resulting hash value.
This operation uses the hash-wasm library for browsers and Node.js. It is licensed by MIT and is using hand-tuned WebAssembly binaries to calculate hashes lightning fast. Star their GitHub repository to give them some love.