Optionaloptions: { legacy?: boolean }Return the key in Antelope/EOSIO PVT_
StaticfromCreate PrivateKey object from representing types.
StaticfromCreate PrivateKey object from a string representation. Accepts WIF (5...) and Antelope/EOSIO (PVT_...) style private keys.
OptionalignoreChecksumError: booleanStaticgenerateStaticis
Derive the shared secret between this private key and given public key. The
legacyoption replicates the divergent pre-2.0 x-coordinate derivation.