pub fn annex_hash(a: Ctx8, b: Option<u256>) -> Ctx8Expand description
Continue a SHA256 hash with an optional hash by appending the following:
- If there is no hash, then the byte
0x00. - If there is a hash, then the byte
0x01followed by the given hash (32 bytes).
ยงCost
241 mWU (milli weight units)