V2EX  ›  英汉词典

Base64

Definition / 定义

Base64:一种常见的二进制到文本编码方式,把数据转换成由 A–Z、a–z、0–9、+、/(以及用于填充的 =)组成的字符序列,便于在邮件、网页、JSON 等以文本为主的环境中传输或存储。它是编码而不是加密。(也存在 URL 安全变体等。)

Pronunciation / 发音

/ˈbeɪs sɪksti ˈfɔːr/

Examples / 例句

Please send the image as a Base64 string.
请把这张图片以 Base64 字符串的形式发送。

The API returns the file content encoded in Base64, which the client decodes before saving it to disk.
该 API 会把文件内容用 Base64 编码返回,客户端在保存到磁盘前再进行解码。

Etymology / 词源

Base64base(进制/基数)+ 64 组成,意思是“以 64 个字符为基数的编码方案”。它将每 3 字节(24 位)数据切分为 4 组 6 位,再用 64 个可打印字符映射表示,因此得名。

Related Words / 相关词

Literary Works / 文学作品

  • RFC 4648: The Base16, Base32, and Base64 Data Encodings
  • RFC 2045: Multipurpose Internet Mail Extensions (MIME) Part One
  • HTTP: The Definitive Guide(涉及在 HTTP/认证/数据传输场景中的 Base64 用法)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   932 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 23:48 · PVG 07:48 · LAX 15:48 · JFK 18:48
♥ Do have faith in what you're doing.