signToBase64 method

String signToBase64(
  1. RSAPrivateKey key,
  2. dynamic msg, {
  3. List<int>? salt,
})
override

Implementation

String signToBase64(RSAPrivateKey key, /* String | List<int> | BigInt */ msg,
    {List<int>? salt}) {
  final bytes = sign(key, msg, salt: salt);
  return base64Encode(bytes);
}