当前位置:网站首页>Introduction to Base64 coding
Introduction to Base64 coding
2022-07-03 08:19:00 【AI fish head with chopped pepper】
Base64 Code Introduction
First ,Base64 It's a way of encoding , Instead of real encryption . Even if ,Base64 It is only used as a simple “ encryption ” To protect some data , Real encryption is usually cumbersome .
Base64 Use 64 A common printable character to store and represent binary word data , At the same time, simple encryption can also be carried out , Generate unreadable text .Base64 The character set includes large 、 Small letters , Arabic numerals 0-9, as well as "+“ and ”/“, And suffixed ”=“ total 65 Characters , Among them, only the former 64 individual . How to use this 64 Characters to represent binary data ? This needs to be in decimal 0 To 63 And the use of 64 Establish a one-to-one correspondence between characters . The specific mapping is decimal 0 To 63 And, in turn, "A-Z”, “a-z”, “0-9”, “+”, "/" One-to-one correspondence . In the computer 64 One possibility only needs 6bits Can express (26=64), therefore Base64 The expression is essentially based on 6bits In units of , Use the specified general character set to represent and store binary data .
Base64 Encoding table
| Code value | character | Code value | character | Code value | character | Code value | character |
|---|---|---|---|---|---|---|---|
| 0 | A | 16 | Q | 32 | g | 48 | w |
| 1 | B | 17 | R | 33 | h | 49 | x |
| 2 | C | 18 | S | 34 | i | 50 | y |
| 3 | D | 19 | T | 35 | j | 51 | z |
| 4 | E | 20 | U | 36 | k | 52 | 0 |
| 5 | F | 21 | V | 37 | l | 53 | 1 |
| 6 | G | 22 | W | 38 | m | 54 | 2 |
| 7 | H | 23 | X | 39 | n | 55 | 3 |
| 8 | I | 24 | Y | 40 | o | 56 | 4 |
| 9 | J | 25 | Z | 41 | p | 57 | 5 |
| 10 | K | 26 | a | 42 | q | 58 | 6 |
| 11 | L | 27 | b | 43 | r | 59 | 7 |
| 12 | M | 28 | c | 44 | s | 60 | 8 |
| 13 | N | 29 | d | 45 | t | 61 | 9 |
| 14 | O | 30 | e | 46 | u | 62 | + |
| 15 | P | 31 | f | 47 | v | 63 | / |
Using tools http://www.lzltool.com/base64 It can be parsed online Base64, take Base64 Convert to string or hexadecimal 、 or Base64Url Format 
边栏推荐
- Some understandings of 3dfiles
- About the problem that the editor and the white screen of the login interface cannot be found after the location of unityhub is changed
- Zohocrm deluge function application time verification
- Un système de gestion de centre commercial pour la conception de cours de technologie d'application de base de données
- 【更新中】微信小程序学习笔记_3
- Puhua PLM empowers the whole scene product lifecycle management and helps the enterprise digital transformation of the main line of products
- 使用base64编码传图片
- E: Unable to locate package ROS melody desktop full
- C course design employee information management system
- An intern's journey to cnosdb
猜你喜欢

数据的存储

Solution détaillée de toutes les formules de fonction de transfert (fonction d'activation) du réseau neuronal MATLAB

图像处理8-CNN图像分类

Multi traveling salesman problem -- overview of formula and solution process
![[end of 2021] National Meteorological Short Video (Kwai, Tiktok) influence list in December](/img/51/81ceaf8746ec7455ea8abf9f038e81.jpg)
[end of 2021] National Meteorological Short Video (Kwai, Tiktok) influence list in December

Image processing 8-cnn image classification

Minimap plug-in

Free use until 2015 -- viz artist multi touch plug-in package

Use of ue5 QRcode plug-in

C语言-入门-精华版-带你走进编程(一)
随机推荐
Editor Extensions
oracle 插入单引号
C course design employee information management system
[global product discovery 2] the first pure cloud augmented reality (AR) platform - Israel
Huawei interview summary during the epidemic
Golang 字符串分割,替换和截取
Wechat applet taro learning record
C language - Introduction - essence Edition - take you into programming (I)
Haproxy+kept build 01
Base64 and base64url
Mall management system of database application technology course design
Ventuz Foundation Series "one step at the door"
The general trend of data news releases the power of visual reporting ----- essays after reading
Unity one click AssetBundle
Image processing 8-cnn image classification
MAE
Delete the last character of the string in golang
An intern's journey to cnosdb
Easy touch plug-in
JS regular case-