Skip to content

Instantly share code, notes, and snippets.

@samngms
Created August 6, 2018 02:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samngms/e7f86d327249f71c627f3143d7c37fea to your computer and use it in GitHub Desktop.
Save samngms/e7f86d327249f71c627f3143d7c37fea to your computer and use it in GitHub Desktop.
+---------------------------------------+-----------+
| Encryption | Max bytes |
+---------------------------------------+-----------+
| RSA/ECB/NoPadding | 256 |
| RSA/ECB/PKCS1Padding | 245 |
| RSA/ECB/OAEPPadding | 214 |
| RSA/ECB/OAEPWithSHA-1AndMGF1Padding | 214 |
| RSA/ECB/OAEPWithSHA-224AndMGF1Padding | 198 |
| RSA/ECB/OAEPWithSHA-256AndMGF1Padding | 190 |
| RSA/ECB/OAEPWithSHA-384AndMGF1Padding | 158 |
| RSA/ECB/OAEPWithSHA-512AndMGF1Padding | 126 |
+---------------------------------------+-----------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment