Php-encrypted MD5 sha1 CRC32 mcrypt des

Source: Internet
Author: User
Tags crc32 mcrypt

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.