Next: , Previous: , Up: Cryptographic messages   [Index]


cm/hashed format

Integrity protected container, analogue to ASN.1-based CMS DigestedData.

Stored in a file, it should begin with "cm/hashed" magic.

ai {{field . {str} >0}}

hashed {
    {field a {list} {of ai} >0}
    {field t {str} >0}
    {field v {bin blob} optional}
    {field hash {list} {of bin} >0}
}

/a tells what algorithms will be used to hash the data.

/t tells the type of the data inside.

/hash contains the hash values for all corresponding /a algorithms.

Merkle hashing:  Merkle-tree based hashing
cm-hashed-blake2b:  cm/hashed with BLAKE2b
cm-hashed-blake2b-merkle:  cm/hashed with BLAKE2b in Merkle-tree mode
cm-hashed-blake3:  cm/hashed with BLAKE3
cm-hashed-shake:  cm/hashed with SHAKE
cm-hashed-shake-merkle:  cm/hashed with SHAKE in Merkle-tree mode
cm-hashed-skein512:  cm/hashed with Skein-512
cm-hashed-gost3411:  cm/hashed with GOST R 34.11-2012
cm-hashed-gost3411-merkle:  cm/hashed with GOST R 34.11-2012 in Merkle tree mode
cm-hashed-xxh3-128:  cm/hashed with XXH3-128