为什么base64编码的字符串的末尾有=符号

A few questions came up: 提出了一些问题:

  1. Does a base64 string always end with = ? base64字符串是否总是以=结尾吗?
  2. Why does an = get appended at the end? 为什么在末尾添加= ?

 

 

It's padding. 它是填充。 From http://en.wikipedia.org/wiki/Base64 : http://en.wikipedia.org/wiki/Base64 :

 

posted @ 2021-04-13 11:24  特洛伊-Micro  阅读(274)  评论(0编辑  收藏  举报