samjeyanth
Programmer
Requirement:
A String(example: 421-22-2343) needs to be encrypted and stored in the database. We are going to use AES algorithm to do encryption and decryption. AES is dynamically generates javax.crypto.SecretKey. So this SecretKey also needs to be stored in the database along with the encrypted string so that we can decrypt the string lates using the same SecretKey. Could you please gimme some suggestions how to do this. Thanks in advance.
A String(example: 421-22-2343) needs to be encrypted and stored in the database. We are going to use AES algorithm to do encryption and decryption. AES is dynamically generates javax.crypto.SecretKey. So this SecretKey also needs to be stored in the database along with the encrypted string so that we can decrypt the string lates using the same SecretKey. Could you please gimme some suggestions how to do this. Thanks in advance.