fromSeed static method

Secp256r1Keypair fromSeed(
  1. Uint8List seed
)

Generate a keypair from a 32 byte seed.

Implementation

static Secp256r1Keypair fromSeed(Uint8List seed) {
  final publicKey = secp256r1.getPublicKeyFromPrivateKeyBytes(seed, true);
  return Secp256r1Keypair(Secp256KeypairData(publicKey, seed));
}