issue in encrypting