fromBytes static method

SecretKey fromBytes(
  1. Uint8List bytes
)

Creates a private key from a 64-byte seed.

Implementation

static SecretKey fromBytes(Uint8List bytes) =>
    SecretKey._(ffi.XdsaSecretKey.fromBytes(bytes: bytes));