update some tools.encrypt