ninja openssl

Dart library to encrypt and sign using openssl.

Usage

RSA PSS signature and verification

  final message = 'hello world!\n';
  final signature = await signRsaPssBase64(privateKey, message);
  print(signature);
  await verifyRsaPss(publicKey, signature, 'hello world!\n');

Libraries

ninja_openssl
rsa_oaep
rsa_pkcs1_sign
rsa_pkcs1v15
rsa_pss_sign