Enum caprock_identifier_hash_length
Defined in File keys.h
Enum Documentation
-
enum caprock_identifier_hash_length
Create key(pair) identifier. This is either a raw public key or a hash thereof written into the buffer; the digest algorithm chosen is specs conforming.
Some keys may be smaller as raw public keys. Unless you need a specific (e.g. smaller) identifier length, pass CIH_ANY to the serialization function; it will pick the smaller of a raw key or default hash size.
Values:
-
enumerator CIH_ANY
Let the library pick.
-
enumerator CIH_224
Choose a 224 bit hash.
-
enumerator CIH_256
Choose a 256 bit hash.
-
enumerator CIH_384
Choose a 384 bit hash.
-
enumerator CIH_512
Choose a 512 bit hash.
-
enumerator CIH_ANY