fromBytes static method

SecretKey fromBytes(
  1. Uint8List bytes
)

Converts a 32-byte seed into a private key.

Implementation

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