Encrypt and Decrypt functions.

Refs #3.

Signed-off-by: Ricky Elrod <ricky@elrod.me>