Class PrivateKey

java.lang.Object
org.xrpl.xrpl4j.crypto.core.keys.PrivateKey
All Implemented Interfaces:
Destroyable

public class PrivateKey extends Object implements Destroyable
A typed instance of an XRPL private-key.
  • Field Details

    • PREFIX

      public static final UnsignedByte PREFIX
      Keys generated from the secp256k1 curve have 33 bytes in XRP Ledger. However, keys derived from the ed25519 curve have only 32 bytes, and so get prefixed with this HEX value so that all keys in the ledger are 33 bytes.
  • Method Details