Posted on: 6/14/2012 11:55:44 AM | Views : 286

The following Java code is used to encrypt/decrypt Social Security numbers in our database:

             public static String base64EncryptCode(String clearText, String strSharedSecret) throws Exception {
                                    String HASH_ALGORITHM = "HmacSHA1";
                                    String ENCRYPTION_ALGORITHM = "AES";
                                &nbs ...

Go to the complete details ...