extractPublicKey static method

Uint8List extractPublicKey(
  1. Uint8List secretKey
)

Extracts the public key from the secret key

Implementation

static Uint8List extractPublicKey(Uint8List secretKey) =>
    Sodium.cryptoSignEd25519SkToPk(secretKey);