mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Add tests
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// BAD: No padding scheme is used
|
||||
Cipher rsa = Cipher.getInstance("RSA/ECB/NoPadding")
|
||||
Cipher rsa = Cipher.getInstance("RSA/ECB/NoPadding");
|
||||
...
|
||||
|
||||
//GOOD: OAEP padding is used
|
||||
Cipher rsa = Cipher.getInstance("RSA/ECB/OAEPWithSHA-1AndMGF1Padding")
|
||||
Cipher rsa = Cipher.getInstance("RSA/ECB/OAEPWithSHA-1AndMGF1Padding");
|
||||
...
|
||||
Reference in New Issue
Block a user