Added to EncryptionManager, added enc/dec test