The LifeHash of arbitrary bytes: data is SHA-256 hashed and the digest rendered. A 32-byte data is hashed like any other; makeFromDigest renders a digest directly.
data
makeFromDigest
Optional
LifeHashError for a data that is not a Uint8Array (InvalidArgument), and for every invalid option.
LifeHashError
Uint8Array
InvalidArgument
The LifeHash of arbitrary bytes:
datais SHA-256 hashed and the digest rendered. A 32-bytedatais hashed like any other;makeFromDigestrenders a digest directly.