Crate skip_ratchet

Crate skip_ratchet 

Source

Structs§

PreviousIterator
An iterator over Ratchet’s between two Ratchet’s.
Ratchet
A (Skip) Ratchet is a data structure for deriving keys that maintain backward secrecy. Unlike hash chains, this data structure is capable of efficiently making large leaps in hash count.
RatchetSeeker
The ratchet seeker looks for a target ratchet by efficiently exploring the ratchet space and figuring out whether it’s smaller or greater than the target until it finds the target.

Enums§

JumpSize
The different possible ratchet jump sizes. Used for the RatchetSeeker.
PreviousErr
This type is used to indicate errors that occur when getting a previous version of a Ratchet.
RatchetErr
This type is used to indicate errors that occur interpreting a Ratchet