当前位置:网站首页>Base64 principle
Base64 principle
2022-06-13 06:34:00 【Road and distance】
Base64 principle
1.ASCII Comparison table
2.Base 64 Comparison table
3. Case study
The original is a contrast ASCII The comparison table is 97
Convert to binary
0110 0001
Because only 8 position , Can not be 6 to be divisible by , So we need to fill the vacancy ,6 and 8 The nearest common multiple of is 24, So we need to add 16 individual 0, That is to say
0110 0001 0000 0000 0000 0000
Will convert every 6 Bit for cutting And add two in front 0 Even for
00011000 00010000 00000000 00000000
00011000 8+16 = 24 Corresponding Base64 code Y
00010000 16 Corresponding Base64 code Q
There are two places to fill in the back 00000000 use = Instead of
The final result is YQ==
边栏推荐
- Hbuilderx: installation of hbuilderx and its common plug-ins
- 【Kernel】驱动编译的两种方式:编译成模块、编译进内核(使用杂项设备驱动模板)
- Download and installation of universal player potplayer, live stream m3u8 import
- Detailed explanation of the player network data reading process of ijkplayer code walkthrough 2
- Recommend a capacity expansion tool to completely solve the problem of insufficient disk space in Disk C and other disks
- Applet disable native top
- Kotlin base generics
- 欧姆龙平替国产大货—JY-V640半导体晶元盒读写器
- [virtual machine] VMware virtual machine occupies too much space. Solution
- JVM基础
猜你喜欢
推荐扩容工具,彻底解决C盘及其它磁盘空间不够的难题
RFID process management solution for electroplating fixture
SSM framework integration -- > simple background management
楊輝三角形詳解
Solution: vscode open file will always overwrite the last opened label
杨辉三角形详解
【sketchup 2021】草图大师中CAD文件的导入与建模(利用cad图纸在草图大师中建立立面模型)、草图大师导出成品为dwg格式的二维、三维、立面效果到cad中打开预览】
Echart line chart: multiple line charts show only one line at a time
MFS详解(七)——MFS客户端与web监控安装配置
[FAQs for novices on the road] about technology management
随机推荐
Wechat applet (function transfer parameters, transfer multiple parameters, page Jump)
Failed to extract manifest from apk: processexception:%1 is not a valid Win32 Application.
SSM framework integration -- > simple background management
Solutions to common problems in small program development
Notifyitemchanged flash back
Thread pool learning
二分查找
【js】var、let、const
Use of kotlin basic common sets list, set and map
Learning records countless questions (JS)
App performance test: (I) startup time
RN Metro packaging process and sentry code monitoring
Common websites and tools
‘ipconfig‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
ADB shell sendent debug input event
Detailed explanation of Yanghui triangle
AI实现亲人“复活”|老照片修复|老照片上色,免费APP推荐
JetPack - - - Navigation
Adding classes dynamically in uni app
JetPack - - -WorkManger