This package has classes to let you do basic crypto. I'm sure there are better libraries out there for this now, but I couldn't find them when I originally wrote these.