crypt.hash crypt.hash(data: string, algorithm: string?): string Hashes the data and returns the digest as hex. The algorithm defaults to sha384.