parsePublicKey method

SimplePublicKey parsePublicKey(
  1. String encoded
)

Parses a base64 encoded public key into a SimplePublicKey.

Implementation

SimplePublicKey parsePublicKey(String encoded) =>
    SimplePublicKey(base64Decode(encoded), type: KeyPairType.x25519);