Interface HashInfo

Hash data generated info. This is information that can be recovered, regardless if we are creating or reading


  • HashInfo


type: "hash"

Output type

digestHex: string

File contents digest as Hex. Not stored on-chain

digest: Uint8Array

File contents digest as Uint8Array. Stored on-chain

algorithm: HashOutputAlgorithms

Hash algorithm used to generate digest. Either 'SHA-256' or 'SHA-512'

sign?: boolean

If true the data has been signed

encrypt?: boolean

If true the data has been encrypted

Generated using TypeDoc