Assignors: HART, STEVEN R., SWEENY, JAMES W., POWERS, EYSHA S. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.) Filing date Publication date Application filed by International Business Machines Corp filed Critical International Business Machines Corp Priority to US14/968,006 priority Critical patent/US10015008B2/en Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Original Assignee International Business Machines Corp Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.) Sweeny Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.) Granted Application number US14/968,006 Other versions US10015008B2 Google Patents US20170170952A1 - Format-preserving encryption of base64 encoded data All indexes are listed in the Base64 table above.US20170170952A1 - Format-preserving encryption of base64 encoded data Only the index determines which characters will be used to encode the data, and only then can the original data be "recovered". However, the core of the algorithm only contains 64 characters, and each character has a unique index. In general, the padding character ensures that the length of the Base64 value is a multiple of 4 bytes, and it is always appended to the end of the output. In other words, the equal sign does not have an index and does not participate in the encoding of data. In addition to these characters, the equal sign (=) is used for padding. Lowercase letters (index 26-51): abcdefghijklmnopqrstuvwxyz
The characters of the Base64 alphabet can be divided into four groups:Ĭapital letters (index 0-25): ABCDEFGHIJKLMNOPQRSTUVWXYZ The only drawback is that the size of the result will increase to 33%. 64 characters are enough to encode any data of any length. Therefore, I think it is not a problem to guess what the names of algorithms such as Base16, Base32, Base36, Base58, Base91 or Base122 mean.īase64 Alphabet contains 64 basic ASCII characters for encoding data.
Since the algorithm uses 64 basic characters, it is not difficult to give it a name (especially Base85 already exists). Initially, the algorithm was named "Printable Encoding", and only a few years later, in June 1992, RFC 1341 defined it as "Base64". However, even if they only need to use online translation to immediately return to the original message, they can understand the meaning of the encoded message. Roughly speaking, in terms of information security, Base64 is just a foreign language that people don't understand. Base64 may only be used to encode the original result of the encryption function. Technically speaking, it can be said that it converts 8-bit bytes into 6-bit bytes.īase64 is not an encryption algorithm and should not be used to "hash" passwords or "encrypt" sensitive data under any circumstances, because it is a reversible algorithm and the encoded data can be easily decoded. You can use Base64 to transmit any data, including pictures, emoticons, videos, etc. Base64 is an encoding algorithm that allows you to transmit any characters, not just ascii codes.