decodeEd25519SecretSeed

Decodes strkey ed25519 secret seed (S...) to raw bytes

Return

The 32 raw seed bytes

Parameters

data

The strkey to decode. An ed25519 secret seed strkey is 56 characters long.

Throws

if data fails a check of the StrKey decode contract, which this type holds to 56 characters and the secret seed version byte