aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes [ SecretKey ] Why is there no need for a password ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "[ SecretKey ] Why is there no need for a password ?" Watch "[ SecretKey ] Why is there no need for a password ?" New topic
Author

[ SecretKey ] Why is there no need for a password ?

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

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):

Thanks
Pho


Regards,

Pho
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [ SecretKey ] Why is there no need for a password ?