Function data_to_hash_sync
- data_to_hash_sync(alogarithm?: "sha1" | "sha256" | "sha384" | "sha512" | "md5", data: BinaryLike, encoding?: BinaryToTextEncoding): string
-
Parameters
-
alogarithm: "sha1" | "sha256" | "sha384" | "sha512" | "md5" = 'sha1'
-
-
Returns string
convert data to hash (sync)
Returns