Module akd_client::utils

source ·
Expand description

Utility functions

Functions

  • Retrieve log_2 of the marker version, referring to the exponent of the largest power of two that is at most the input version
  • Corresponds to the I2OSP() function from RFC8017, prepending the length of a byte array to the byte array (so that it is ready for serialization and hashing)