Skip to content

Commit

Permalink
Add comments to CryptoUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillipus committed Oct 17, 2022
1 parent 1ce4c46 commit de701e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ public static byte[] transformWithKey(SecretKey key, String cipherAlgorithm, int

/**
* Get and initialise Cipher with a secret key and optional iv
* param @iv is optional and not used for AES, AES/CBC/PKCS5Padding or AES/GCM/NoPadding
* param @iv is optional and not used for AES
*
* @param key The secret key
* @param algorithm The transformation algorithm to use - AES,
* @param algorithm The transformation algorithm to use - AES, AES/CBC/PKCS5Padding or AES/GCM/NoPadding
* @param mode Cipher.ENCRYPT_MODE or Cipher.DECRYPT_MODE
* @param iv Optional IV
*/
Expand Down

0 comments on commit de701e5

Please sign in to comment.