Skip to content

Commit de701e5

Browse files
committed
Add comments to CryptoUtils
1 parent 1ce4c46 commit de701e5

File tree

1 file changed

+2
-2
lines changed
  • org.archicontribs.modelrepository/src/org/archicontribs/modelrepository/authentication

1 file changed

+2
-2
lines changed

org.archicontribs.modelrepository/src/org/archicontribs/modelrepository/authentication/CryptoUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,10 @@ public static byte[] transformWithKey(SecretKey key, String cipherAlgorithm, int
231231

232232
/**
233233
* Get and initialise Cipher with a secret key and optional iv
234-
* param @iv is optional and not used for AES, AES/CBC/PKCS5Padding or AES/GCM/NoPadding
234+
* param @iv is optional and not used for AES
235235
*
236236
* @param key The secret key
237-
* @param algorithm The transformation algorithm to use - AES,
237+
* @param algorithm The transformation algorithm to use - AES, AES/CBC/PKCS5Padding or AES/GCM/NoPadding
238238
* @param mode Cipher.ENCRYPT_MODE or Cipher.DECRYPT_MODE
239239
* @param iv Optional IV
240240
*/

0 commit comments

Comments
 (0)