Statement: This article is intended for technical exchanges and is not intended for the "square" (the new version of the square educational administration system password processing method has also changed, just use this as an introduction ......)!
First, Base64 coding principle
Step 1: Convert all characters to ASCII code;
Step 2: Convert the ASCII code into a 8-bit binary;
Step 3: The binary 3 grouped into a group (less than 3 in the back of 0) a total of 24, and then split into 4 groups,
I. Base64 encoding Principle
Step 1: Convert all characters into ASCII codes;Step 2: Convert the ASCII code into an 8-bit binary code;Step 3: Combine the binary three into a group (less than three are supplemented with 0) with a total of 24 bits
I. Brief description
MD5: All called message digest algorithm 5 (Information digest algorithm), can be encrypted, but not decrypted, belong to one-way encryption, usually used for file verification
BASE64: The 8-bit byte of any sequence is
Http://www.luocong.com/articles/show_article.asp? Article_id = 17
Download the example Program (6.93 KB) in this section)
You should be a senior online reader, and the younger brother is brave enough to ask, when surfing the
I. BASE64 code ORIGINWhy do you have Base64 code? Because some network transport channels do not support all bytes, such as traditional mail only supports the transmission of visible characters, such as ASCII code control characters can not be
The following is a detailed description of how BASE64 is encoded.The so-called Base64, that is to choose 64 characters----lowercase letter A-Z, uppercase letter A-Z, number 0-9, the symbol "+", "/" (plus the "=" as the pad word, is actually 65
One:. Base64 Supplement"' OBJC1.base64 Simple ExplanationDescription: Base64 can be a cornerstone of cryptography and is very important.Features: Arbitrary binary data can be BASE64 encodedResult: All data can be encoded as a text file that can be
I. Introduction to the Concept
Base64 is a representation of binary data based on 64 printable characters. Because of 2^6=64, every 6 bits is a unit, corresponding to a printable character. 3 bytes have 24 bits, corresponding to 4 Base64 units, 3
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.