This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new fe7241d  Javadoc
fe7241d is described below

commit fe7241de2e3aab2832168082103c025f5c2bbf53
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Dec 18 08:19:49 2022 -0500

    Javadoc
---
 src/main/java/org/apache/commons/crypto/utils/AES.java | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/src/main/java/org/apache/commons/crypto/utils/AES.java 
b/src/main/java/org/apache/commons/crypto/utils/AES.java
index d7b6256..684b580 100644
--- a/src/main/java/org/apache/commons/crypto/utils/AES.java
+++ b/src/main/java/org/apache/commons/crypto/utils/AES.java
@@ -29,10 +29,27 @@ public class AES {
     /** The AES algorithm name. */
     public static final String ALGORITHM = "AES";
 
+    /**
+     * Defines {@value}.
+     */
     public static final String CBC_NO_PADDING = "AES/CBC/NoPadding";
+
+    /**
+     * Defines {@value}.
+     */
     public static final String CBC_PKCS5_PADDING = "AES/CBC/PKCS5Padding";
+
+    /**
+     * Defines {@value}.
+     */
     public static final String CTR_NO_PADDING = "AES/CTR/NoPadding";
 
+    /**
+     * Creates a new SecretKeySpec for the given key and {@link #ALGORITHM}.
+     *
+     * @param key a key.
+     * @return a new SecretKeySpec.
+     */
     public static SecretKeySpec newSecretKeySpec(final byte[] key) {
         return new SecretKeySpec(key, ALGORITHM);
     }

Reply via email to