Skip to main content

Crate edky

Crate edky 

Source
Expand description

Edky converts Ed25519 public keys between various encoding formats.

§Feature support

With default features disabled, hexadecimal key parsing, key display, and encoding-name parsing require neither allocation nor std. The alloc feature adds string-returning encoding APIs and owned-data conversions; std includes alloc. Defaults enable std and all encodings.

Codec features enable their required dependencies; base32z and base64 also enable alloc. Integrations are optional. The clientele feature enables std for its error conversion, and cli enables both.

Structs§

PublicKeyBytes

Enums§

ParsePublicKeyError
Errors when parsing public key bytes or an encoded public key.
PublicKeyEncoding
A public-key encoding available under the enabled Cargo features.
PublicKeyFormat

Constants§

PUBLIC_KEY_FORMATS
PUBLIC_KEY_LEN

Functions§

decode
Decodes a public key using the selected encoding and fixed-size buffers.
encodealloc