P5-mime-base64

Jul 20, 2023

Perl5 module for Base64 and Quoted-Printable encodings

This package contains a base64 encoder/decoder and a quoted-printable encoder/decoder. These encoding methods are specified in RFC 2045 - MIME Multipurpose Internet Mail Extensions.

The base64 encoding is designed to represent arbitrary sequences of octets in a form that need not be humanly readable. A 65-character subset [A-Za-z0-9+/=] of US-ASCII is used, enabling 6 bits to be represented per printable character.

The quoted-printable encoding is intended to represent data that largely consists of bytes that correspond to printable characters in the ASCII character set. Non-printable characters are represented by a triplet consisting of the character “=” followed by two hexadecimal digits.

The MIMEBase64 and MIMEQuotedPrint modules used to be part of libwww-perl package. They are now distributed separately this package. The main improvement is that the base64 encoder/decoder is implemented by XS functions. This makes it about 20 times faster than the old implementation in perl.



Checkout these related ports:
  • Zbase32 - Base32 Encoder/Decoder
  • Ytnef - Unpack data in MS Outlook TNEF format
  • Yj - Convert between YAML, TOML, JSON, and HCL
  • Yj-bruceadams - Command line tool that converts YAML to JSON
  • Xml2c - Convert an XML file into C struct/string declarations
  • Xdeview - X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Wkhtmltopdf - Convert HTML (or live webpages) to PDF or image
  • Uulib - Library for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Uudeview - Program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Unix2dos - Convert ASCII newlines between CR/LF and LF
  • Tuc - Text to Unix Conversion
  • Trans - Character encoding converter generator
  • Tnef - Unpack data in MS Outlook TNEF format
  • Ta2as - TASM to AT&T asm syntax converter (GNU AS)
  • Showkey - Display cooked key sequences (keycap-to-keystrokes mappings)