create the valid test of encryption