Hash.Blake2-256¶
| Name | Mandatory | Description | Default | Type | 
|---|---|---|---|---|
| ⬅️ Input | The string, bytes or a sequence of strings/bytes to hash. | Bytes[Bytes]String[String] | ||
| Output ➡️ | Outputs the 256-bit hash as a byte array. | Bytes | 
This shard outputs the 256-bit hash(of 32 bytes) of the input (string, bytes or a sequence of strings/bytes) using the BLAKE2b-256 hashing algorithm.
Details¶
The BLAKE2 algorithm is a cryptographic hash function that's designed to be fast and secure.
The Hash.Blake2-256 shard provides a longer hash output compared to Hash.Blake2-128, which can be useful in scenarios requiring more collision resistance or when a longer hash is preferred for security reasons.