crypto
HashAlgorithm
enum HashAlgorithm {
Md5,
Sha1,
Sha224,
Sha256,
Sha384,
Sha512,
Sha512256,
Sha512T256,
Sha3224,
Sha3256,
Sha3384,
Sha3512,
}
Hash algorithms
hash
fun hash(HashAlgorithm algo, str data) > str
Returns hash of data using given algorithm
algo
: Hash aglorithm to usedata
: Data to hash
Returns: Hash of data has hex string