Copyright statement: original works can be reproduced. During reprinting, be sure to mark them as hyperlinks.ArticleOriginal publication, author information, and this statement. Otherwise, legal liability will be held. Http://blog.csdn.net/mayongzhan-ma yongzhan, myz, mayongzhan
PHP is just a language.
Encryption and decryption is only a method for string operations.
Of course, PHP supports all Encryption Algorithm. If not, you can write it by yourself. among PHP, MD5 and sha1 are the most used. both are irreversible encryption. MD5 (), md5_file () sha1 (), sha1_file () CRC32 () This is the verification code, which is used with the above two _ files or the MD5, sha1, and CRC32 of the file. this is widely used to check whether the download is complete and whether the download is modified. this is an interface to the mcrypt library, which supports a wide variety of block algorithms such as des, tripledes, blowfish (default), 3-way, SAFER-SK64, SAFER-SK128, twofish, tea, RC2 and GOST in CBC, ofB, CFB and E. CB cipher modes. Additionally, it supports rc6 and idea which are considered "non-free". supports many encryption methods... The most common estimation is des. the following website implements the encryption of JS, PHP, and Perl. supports CBC and ECB. tero. co. UK has encountered many problems during encryption. it mainly includes encoding and makeup. debug multiple times. no problem.