This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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 ]

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: java cryptography primer?
It's not a secret anymore!