Implemented key calculation and encrypt/decrypt