Is it ok to remove the equal signs from a base64 string?

前端 未结 6 1058
眼角桃花
眼角桃花 2021-02-02 10:05

I have a string that I\'m encoding into base64 to conserve space. Is it a big deal if I remove the equal sign at the end? Would this significantly decrease entropy? What can I d

6条回答
  •  旧巷少年郎
    2021-02-02 10:44

    I don't think so.
    https://en.wikipedia.org/wiki/Base64#Output_padding

    These equals are "useful".

提交回复
热议问题