首页
/
每日頭條
/
知識
/
為什麼使用base64
為什麼使用base64
更新时间:2024-10-11 16:26:24

  1、早期的一些郵件服務器隻支持文本信息,不支持二進制信息和文件。而base64編碼後的結果都是純文本的,适合用電子郵件來傳送二進制數據。

  2、Base64是網絡上最常見的用于傳輸8Bit字節代碼的編碼方式之一,可以查看RFC2045~RFC2049,上面有MIME的詳細規範。

  3、Base64編碼可用于在HTTP環境下傳遞較長的标識信息。

  4、在其他應用程序中,也常需要把二進制數據編碼為适合放在URL中的形式。

  5、采用Base64編碼具有不可讀性,即所編碼的數據不會被人用肉眼所直接看到。

Comments
Welcome to tft每日頭條 comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments
Copyright 2023-2024 - www.tftnews.com All Rights Reserved