bcgit / pc-dart

Pointy Castle - Dart Derived Bouncy Castle APIs
MIT License
233 stars 122 forks source link

RSA OAEP encrypting with private key #163

Open santiago-parodi opened 2 years ago

santiago-parodi commented 2 years ago

Why is using the private key to encrypt with RSA-OAEP not allowed? I needed to sign some data with RSA-OAEP and SHA-256 but this feature is not allowed. Is this for a security reason? Thanks in advance!