[][src]Crate ssb_tfk

ssb-tfk

A module that implements the Type Format Key (TFK) encoding of ssb message keys. Spec defined here

Enable the multiformats feature to include type conversions to / from multiformats types.

Structs

TypeFormatKey

TypeFormatKey is able to represent any of the current ssb key types and encode / decode them to the TFK binary representation.

Enums

Error
Format

Format encodes the message format, either Classic (javascript ssb) or GabbyGrove (go ssb)

KeyType

A KeyType represents the type of the key, as well as owning the actual bytes of the key.