|
[ up | introduction · alphabet · comparison · license · download · screenshot · links ] basE91 encoding• introductionbasE91 is an advanced method for encoding binary data as ASCII characters. It is similar to UUencode or base64, but is more efficient. The overhead produced by basE91 depends on the input data. It amounts at most to 23% (versus 33% for base64) and can range down to 14%, which typically occurs on 0-byte blocks. This makes basE91 very useful for transferring larger files over binary unsafe connections like e-mail or terminal lines. • alphabetAs the name suggests, basE91 needs 91 characters to represent the encoded binary data in ASCII. From the 94 printable ASCII characters (0x21-0x7E), the following three ones have been omitted to build the basE91 alphabet: - (dash, 0x2D) The translation table is composed of the remaining characters as shown below.
• comparisonThe table below shows a comparison of base64 and basE91, each method applied to 1 MiB binary data. The plain row lists the results with unformatted output and the MIME values show the amount of data that is produced, when you attach a file to an email (MIME requires a line break <CR><LF> after 76 characters).
Using basE91 you need to transfer only 85.7% to 92.3% of the data, you would have to transfer with base64. • licensebasE91 has been developed by Joachim Henke, and is released as free software under the terms of the BSD license. • downloadSource code package (C, Java, PHP, 8086 assembly, AWK): base91-0.6.0.tar.gz (15 KiB) Pre-compiled binaries for Java byte code: base91.jar (4 KiB) • screenshot
• links |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
© 2005-2013 Joachim Henkelast modified: 2013-06-07 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||