createHash

abstract val createHash: (data: String) -> String?(source)

A good implementation is node.js' crypto.createHash. (https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm)