Search for:    
String match:      
Search in:        
Home Featured Submit Link To Us Contact Us



C: \ Web Development \ Java & JavaScript \ Base64 1.9
Base64 1.9 - Detailed Description Page
Click to view Base64 1.9 screenshot
Program ID: 6458
Author: Canadian Mind Products     All programs by this author
Downloads: 2
License: Freeware [?]
Cost (USD): -
Operating Systems: win9xme winnt4 winxp
Size: 531K
Release Status: new
Last Updated: 2007-05-20
Our Rating: Not rated yet...
Users Rating: not rated yet     (total votes: 0)
Feedback: Report broken download     Report spyware [?]
Download Base64 1.9

Base64 iconBase64 is a freeware way of encoding 8-bit characters using
only ASCII printable characters similar to UUENCODE.
UUENCODE embeds a filename where BASE64 does not. You will
see BASE64 used in encoding digital certificates, in
encoding user:password string in an Authorization: header
for HTTP. The spec is described in RFC 2045.

For more details see http://mindprod.com/jgloss/base64.html

Don't confuse Base64 with x-www-form-urlencoded which
is handled by java.net.URLEncoder.encode/decode or
Base64u.

Base64 armouring uses only the characters A-Z a-z 0-9 +/=.
This makes it suitable for encoding binary data as SQL
strings, that will work no matter what the encoding.
Unfortunately + / and = all have special meaning in URLs.

Base64u gets around this problem. It is a variant on Base64
that uses - _ and * in preference to + / and =, so that it
can be used in URLEncoded contexts with or without
URLEncoding.

Use base64 like this:

// Base64 armouring
import com.mindprod.base64.Base64;
...
// sample byte array to encode
byte[] toSend = { (byte)0xfc, (byte)0x0f, (byte)0xc0};

// create encoder object
Base64 base64 = new Base64();
base64.setLineLength( 72 ); // default

// encoding a byte[]
String send = base64.encoder( toSend );

// decoding a byte[]
byte[] reconstituted = base64.decoder( sent );

use Base64u the same way:

// Base64u armouring
import com.mindprod.base64.Base64u;
...
// sample byte array to encode
byte[] toSend = { (byte)0xfc, (byte)0x0f, (byte)0xc0};

// create encoder object
Base64u base64u = new Base64u();
base64u.setLineLength( 72 ); // default

// encoding a byte[]
String send = base64u.encoder( toSend );

// decoding a byte[]
byte[] reconstituted = base64u.decoder( sent );

For an example that starts and ends with a String, see
Example.java

to run:
java.exe com.mindprod.base64.Example


Keywords: Base64, Base64u, encode, decode, armouring, printable, 6-bit, 8-bit, UUENCODE, UUDECODE,

Recent Changes: add icon and pad file

Install Support: No Install Support

Supported Languages: English

Additional Requirements: Java 1.2+

PAD file URL: http://mindprod.com/pad/base64.xml



Latest Releases in Web Development - Java & JavaScript
AllWebMenus Pro iconAllWebMenus Pro 5.2.792   (2009-08-27)   update
DHTML menu, Javascript menu and CSS menu builder that requires no programming!
JavaScript Plus! iconJavaScript Plus! 7.0   (2009-01-07)   update
JavaScript Plus! - Advanced JavaScript editor for windows.
XML Menu Builder iconXML Menu Builder 2.12   (2008-12-19)   update
Build web menus using XML for data and CSS for look and feel
Agama Web Buttons iconAgama Web Buttons 2.66   (2008-12-06)   update
Professional tool for creating roll-over and animated Web Buttons.
Search Engine Builder Standard iconSearch Engine Builder Standard 2.88   (2008-11-21)   update
Create a search engine to search within your own website.
JS Image Scroller and Menu Builder Suite iconJS Image Scroller and Menu Builder Suite 2.0   (2008-11-13)   new
Create JavaScript drop-down menu easily. NO JavaScript experience is required.
AllWebMenus WordPress Menu Addin iconAllWebMenus WordPress Menu Addin 1.0.3   (2008-11-10)   new
Cross-browser DHTML menus for your WordPress blogs/projects
Atrise Stealth iconAtrise Stealth 1.1.0   (2008-10-31)   update
Ultimate HTML source hide, images, forms and antispam protection software
PMVR - Patented Mappable VR iconPMVR - Patented Mappable VR 6.6a   (2008-09-25)   update
PMVR is a Java applet that displays 360 degree panoramas in a web page or on CD
Likno Drop Down Menus Trees iconLikno Drop Down Menus Trees 1.1.136   (2008-09-24)   update
Likno Drop-Down Menu Trees - powerful web menu trees creation!




All Programs:
0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

All Authors:
0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

RSS Feeds:
(Current Category)
RSS Feed for New Releases and Updates New releases & updates
RSS Feed for New Shareware Releases New shareware releases
RSS Feed for New Freeware Releases New freeware releases
RSS Feed for Most Popular Software Most popular software
RSS Feed for Top Rated Software Top rated software
Feeds List in OPML Feeds list in OPML

Useful Resources:
Launch your own PAD site

PAD Site Scripts - Launch your own download site!
McAfee Canada Total Protection software iconMcAfee Canada Total Protection software 5.1.0: McAfee Total Protection is hassle-free, all-you-need security Xilisoft Video Converter Platinum iconXilisoft Video Converter Platinum 5.1.17.1107: It's a powerful video converter to convert video and audio formats. Movavi DVD Ripper iconMovavi DVD Ripper 6.0.3: Convert video, DVD, save to iPod, PSP, PDA, Zune, iPhone, any cellphone PC Tools AntiVirus iconPC Tools AntiVirus 5.0: Anti-virus package designed to protect your computer from virus, worm and Trojan

Home | Featured | Submit | Link To Us | Contact Us | FAQ | About Us | Advertise | Sysop Login