Encrypt and Decypt arrays and strings