pub fn issuance_blinding_entropy_hash() -> u256
Expand description

Return a SHA256 hash of the concatenation of the following for every input:

  • If the input has no issuance then the byte 0x00.
  • If the input is has a new issuance then the byte 0x01 followed by 32 0x00 bytes and the new issuance’s contract hash field (32 bytes).
  • If the input is has reissuance then the byte 0x01 followed by a serializaiton of the reissuance’s blinding nonce field (32 bytes) and the reissuance’s entropy field (32 bytes).

Note that if the issuance is a new issuance then the blinding nonce field is 32 0x00 bytes and new issuance’s contract hash.