Crypt

crypt.hash

Hashes and returns user provided data using the specified hashing algorithm.

Syntax

crypt.hash(data: string, algorithm: string): string