Removed unused methods and fixed symmetric encryptor