Merge pull request #11886 from jelaiw/jelaiw-patch-1

Fix small typo in good/bad code sample.
This commit is contained in:
Tony Torralba
2023-01-16 09:43:23 +01:00
committed by GitHub

View File

@@ -7,6 +7,6 @@ byte[] encrypted = cipher.doFinal(input.getBytes("UTF-8"));
// ...
// GOOD: AES is a strong algorithm
Cipher des = Cipher.getInstance("AES");
Cipher aes = Cipher.getInstance("AES");
// ...
// ...