minor cleanup, encodefile command in Base64.java
[org.ibex.crypto.git] / src / org / ibex / crypto / AES.java
index 3f6ea69..62ae408 100644 (file)
@@ -38,6 +38,8 @@ public class AES implements Cipher {
         }
     }
     
+    // everything below if from BouncyCastle
+    
     /**
      * an implementation of the AES (Rijndael), from FIPS-197.
      * <p>
@@ -97,7 +99,7 @@ public class AES implements Cipher {
         (byte)225, (byte)248, (byte)152,  (byte)17, (byte)105, (byte)217, (byte)142, (byte)148,
         (byte)155,  (byte)30, (byte)135, (byte)233, (byte)206,  (byte)85,  (byte)40, (byte)223,
         (byte)140, (byte)161, (byte)137,  (byte)13, (byte)191, (byte)230,  (byte)66, (byte)104,
-        (byte)65, (byte)153,  (byte)45,  (byte)15, (byte)176,  (byte)84, (byte)187,  (byte)22,
+        (byte)65, (byte)153,  (byte)45,  (byte)15, (byte)176,  (byte)84, (byte)187,  (byte)22
     };
     
     // The inverse S-box
@@ -133,7 +135,7 @@ public class AES implements Cipher {
         (byte)160, (byte)224,  (byte)59,  (byte)77, (byte)174,  (byte)42, (byte)245, (byte)176,
         (byte)200, (byte)235, (byte)187,  (byte)60, (byte)131,  (byte)83, (byte)153,  (byte)97,
         (byte)23,  (byte)43,   (byte)4, (byte)126, (byte)186, (byte)119, (byte)214,  (byte)38,
-        (byte)225, (byte)105,  (byte)20,  (byte)99,  (byte)85,  (byte)33,  (byte)12, (byte)125,
+        (byte)225, (byte)105,  (byte)20,  (byte)99,  (byte)85,  (byte)33,  (byte)12, (byte)125
     };
     
     // vector used in calculating key schedule (powers of x in GF(256))