rsaPrivateKeyExponentToBytes static method

Uint8List rsaPrivateKeyExponentToBytes(
  1. RSAPrivateKey privateKey
)

Converts the RSAPrivateKey.exponent from the given privateKey to a Uint8List.

Implementation

static Uint8List rsaPrivateKeyExponentToBytes(RSAPrivateKey privateKey) =>
    encodeBigInt(privateKey.exponent);