Encryptor from class