Current location - Quotes Website - Signature design - How to encrypt. Md5 for bats?
How to encrypt. Md5 for bats?
//////////////////////////////////////////////////

//

First of all, you should understand two things:

1. Batch processing is run according to cmd.exe's explanation.

2.md5 is not an encryption algorithm, but an "information summarization algorithm". No matter how big the file is or how long the string is, only 16 or 32-bit hash information is returned.

So md5 is irreversible, not a strict encryption algorithm? If encryption is to be said, it should also be an IEEE certified algorithm such as rsa and des.

For your problem, you can write an exe, bind the encrypted bat as a resource into the exe, and then the exe will be responsible for decryption and operation, but this is not worth the loss and the cost is too high. It is better to write an exe directly.

If encryption is necessary, there is only one economical and feasible method. Using winrar to make a batch into an executable decompression file, that is, an exe format rar package, and then adding a strong shell to this exe file can be protected to a certain extent, but experts can still solve it.

Finally, * * * enjoyment is a virtue, although I am basically sure that your so-called bat technology content is not too high. .

/////////////////////////////////////////////