File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes java cryptography primer? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "java cryptography primer?" Watch "java cryptography primer?" New topic

java cryptography primer?

John Holme
Ranch Hand

Joined: Oct 11, 2002
Posts: 54
I would appreciate any suggestions folks might have on a good java cryptography primer. I've gleaned some snippets from O'Reilly's Java Security and Java Examples in a Nutshell books, but I'm looking for some very specific answers about the best way to encrypt and decrypt strings without having to re-create Fort Knox. please offer any suggestions you may have of print or web-based resources on this topic.
thanks in advance for your help!
John Holme
norman richards
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
Although it wasn't very popular, I found O'Reilly's Java Cryptography a good book to get familiar with the Java crypto APIs.
I don't know your requirements, but I bet a PBE system would work well. I'm guessing you don't want a lot of key management hassles and just want to encrypt a few values in a config file or in a database...
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1893
Currently I am reading Cryptography and network security by William Stallings.Text is understanable(atleast first 2 chapters!)but its not written from programming perspective.But it explains almost every topic from scratch.
Handbook of Applied Cryptographyis freely downloadble book.
[ February 19, 2004: Message edited by: Capablanca Kepler ]

I agree. Here's the link:
subject: java cryptography primer?
It's not a secret anymore!