adding encryption / decryption functions, not called yet