User Tools

Site Tools


ds:encodings

Encodings

All encodings are for human use.

NameEncodingVersionDescriptionPayloadMaximum
Characters
validation_public_key nXXXXX 28 Validation public key for node. 33 bytes 53
validation_private_key pXXXXX 32 Validation private key for node. 32 bytes 52
account_id rXXXX 0 Short name for sending funds to an account. 20 bytes 35
account_public_key aXXXX 35 Account public key. 33 bytes 53
account_private_key pXXXX 34 Account private key. 32 bytes 52
family_public_generator fXXXX 41 Family public generator.
Used to generate public accounts.
33 bytes 53
family_seed
validation_seed
sXXXX 33 Family seed. The private generator used to generate public generator and private keys. Random or the first 128 bits of the SHA512 hash of the passphrase. 16 bytes 29

Notes:

  • The base58 dictionary for RADAR is: rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz
  • Encodings are base58 of version + payload + 4 byte checksum.
    • The 4 byte checksum makes the odds of accidental construction of a valid encoding 1 in 2^32, if using the same alphabet.
  • Checksums are the first 4 bytes of the sha256 of sha256 of the version and payload
  • Versions are chosen for first character stability, minimum length short address, and output length stability.
    • Unfortunately only 2 prefixes are stable for 32 byte payloads and one of these prefixes is used for account IDs. This forces private keys to have the same prefix.

Address icons:

Other Language

ds/encodings.txt · Last modified: 2015/03/02 02:17 by Justin