Add encryption and decryption methods, along with documentation