security/native_compatible_encryption library

Classes

NativeCompatibleEncryption
  • AES/ECB/PKCS7 for JSON encryption (no IV)
  • RSA PKCS#1 v1.5 to encrypt the session key
  • Certificate parsing supports: PEM text, base64(PEM text), base64(DER)