9j/4R/+RXhpZgAATU0AKgAAAAgACgEPAAIAAAAGAAAAhgEQAAIAAAAKAAAAjAESAAMAAAABAAYAĪAEaAAUAAAABAAAAlgEbAAUAAAABAAAAngEoAAMAAAABAAIAAAExAAIAAAAHAAAApgEyAAIAAAAUĪAAArgITAAMAAAABAAEAAIdpAAQAAAABAAAAwgAABCRBcHBsZQBpUGhvbmUgNnMAAAAASAAAAAEA Your email software Base64-encodes the image and inserts the equivalent text into the message, as illustrated below: For example, you attach an image to an email message and want the image to arrive at the other end without being garbled. Later, it was officially presented as Base64 in RFC 2045: Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, and subsequently revisited in RFC 4648: The Base16, Base32, and Base64 Data Encodings.īase64 is used to prevent data from being modified while in transit through information systems, such as email, that might not be 8-bit clean (they might garble 8-bit values). Base64 request for comment documentsīase64 was first described (but not named) in RFC 1421: Privacy Enhancement for Internet Electronic Mail: Part I: Message Encryption and Authentication Procedures. Each Base64 digit represents exactly 6 bits of binary data. What is Base64?īase64 is a binary-to-text encoding scheme that represents binary data in a printable ASCII string format by translating it into a radix-64 representation. What is Base64 and how do I use this API? This post answers these questions. Some will also remember Java 8 for introducing various small but useful features such as the Base64 API. Java 8 will be remembered mainly for introducing lambdas, streams, a new date/time model, and the Nashorn JavaScript engine to Java.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |