cardano::KesDepth struct

Structure that represents the depth of the binary tree.

Public functions

auto decr() const →  KesDepth
Returns a new KesDepth value with one less depth as self.
auto half() const →  uint32_t constexpr
auto incr() const →  KesDepth
Returns a new Depth value with one more depth as self.
auto total() const →  uint32_t constexpr

Function documentation

uint32_t cardano::KesDepth::half() const constexpr

Compute half of the total number of signatures one can generate with the given KesDepth

uint32_t cardano::KesDepth::total() const constexpr

Compute the total number of signatures one can generate with the given KesDepth