@blockchaincommons/lifehash - v1.0.0-beta.2
    Preparing search index...

    Function makeFromData

    • 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.

      Parameters

      Returns LifeHashImage

      LifeHashError for a data that is not a Uint8Array (InvalidArgument), and for every invalid option.