[][src]Crate ripple_address_codec

Encodes/decodes base58 encoded XRP Ledger identifiers

Functions for encoding and decoding XRP Ledger addresses and seeds.

Examples

See Functions section

Re-exports

pub use self::error::Error::DecodeError;
pub use self::Algorithm::Ed25519;
pub use self::Algorithm::Secp256k1;

Enums

Algorithm

The elliptic curve digital signature algorithm with which the seed is intended to be used

Error

Error type with a single DecodeError variant

Functions

decode_account_id

Decode a classic address (starting with r...) to its raw bytes

decode_seed

Decode a seed into a tuple with seed's entropy bytes and algorithm

encode_account_id

Encode bytes as a classic address (starting with r...)

encode_seed

Encode the given entropy as an XRP Ledger seed (secret)

Type Definitions

Entropy

Seed entropy array

Result

Result with decoding error