test encryptor in client.