Module tink_core::cryptofmt

source ·
Expand description

Provides constants and convenience methods that define the format of ciphertexts and signatures.

Constants

Functions

  • Generate the prefix of ciphertexts produced by the crypto primitive obtained from key. The prefix can be either empty (for RAW-type prefix), or consists of a 1-byte indicator of the type of the prefix, followed by 4 bytes of the key ID in big endian encoding.