crypt.hash
Hashes and returns user provided data using the specified hashing algorithm.
crypt.hash(data: string, algorithm: string): stringHashes and returns user provided data using the specified hashing algorithm.
crypt.hash(data: string, algorithm: string): string