Hash Definition Module #
- hash : α → ℍ
- mix : ℍ → ℍ → ℍ
Instances
Equations
- instMixableHashHash_28OfSerializable = { hash := blake2b_224 ∘ Serializable.serialize, mix := fun (a b : Hash_28) => blake2b_224 { data := (Vector.append a b).toArray } }
Equations
- instMixableHashHash_32OfSerializable = { hash := blake2b_256 ∘ Serializable.serialize, mix := fun (a b : Hash_32) => blake2b_256 { data := (Vector.append a b).toArray } }