Skip to main content

Module utility

Module utility 

Source

Structs§

TimeLockParams
Compact, self-contained encoding of all encryption-time settings — suitable for plaintext storage within a ciphertext header.

Functions§

pack
Encode TimePrecision, TimeFormat, and a TimeLockCadence reference into a compact TimeLockParams for storage in a ciphertext header.
unpack
Decode a TimeLockParams into its constituent TimePrecision, TimeFormat, and raw cadence variant discriminant.