decodeIotaPrivateKey
@iota/iota-sdk / cryptography / decodeIotaPrivateKey
Function: decodeIotaPrivateKey()
decodeIotaPrivateKey(
value):ParsedKeypair
Defined in: sdk/typescript/src/cryptography/keypair.ts:112
This returns an ParsedKeypair object based by validating the
33-byte Bech32 encoded string starting with iotaprivkey, and
parse out the signature scheme and the private key in bytes.
Parameters
value
string