Okay, not to put anyone off crypto, as it's really really important, but the one rule everyone needs to remember: Use the current best practices for each situation, don't make up your own crypto.
This usually means "use whatever is in OpenSSL, Keyczar, etc", that's what it's for.