This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hi, I've used the JCE to generate a DES SecretKey. However the API doesn't seem to need a password. I thought all symmetric ciphers need a password ? Maybe I do not understand the difference between a cipher and a key ! Can someone explain ? My code to generate the key is below (I do not know yet how to add it to the keystore..coming soon):
subject: [ SecretKey ] Why is there no need for a password ?