fromBytes static method
Parses a 520-byte array into a private key.
Format: p (128 bytes) || q (128 bytes) || d (256 bytes) || e (8 bytes), all in big-endian.
Throws if bytes is not 520 bytes long, or does not hold a valid key
with a 2048-bit modulus and the exponent 65537.
Implementation
static SecretKey fromBytes(Uint8List bytes) =>
SecretKey._(ffi.RsaSecretKey.fromBytes(bytes: bytes));