fromEncoded

Creates a PrivateKey instance from a Bech32 encoded string.

Return

The PrivateKey instance.

Parameters

encoded

The Bech32 encoded private key.

Throws

If the signature scheme is not supported.