for encrypt