Article ID: 191239 - Last Review: October 11, 2006 - Revision: 3.1 Sample Base 64 Encoding and DecodingThis article was previously published under Q191239 SUMMARY
B64_samp.exe is a sample that shows how to programmatically encode and
decode Base 64 encoding mechanism. This encoding mechanism was introduced
for use with Multipurpose Internet Mail Extensions (MIME). It is the
default mechanism used when authenticating in clear text (Basic
Authentication) between a Web browser and a Web server.
The sample is in the form of a simple Win32 command line application. Usage is as follows: NOTE: The sample includes the project files for Microsoft Visual C++ 5.0. For other development environments, simply copy over the .cpp/.h files into your own project. Note that the self-extracting executable is a Win32 EXE. MORE INFORMATIONThe following files are available for download from the Microsoft
Download Center: B64_samp.exe
(http://download.microsoft.com/download/iis30/sample/1/nt4/en-us/b64_samp.exe)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591
(http://support.microsoft.com/kb/119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
REFERENCES
RFC 1521 : MIME (Multipurpose Internet Mail Extensions) Part One:
Mechanisms for Specifying and Describing the Format of Internet Message
Bodies
| Article Translations
|

Back to the top
