Home Featured Submit Link To Us Contact Us



Opens in new window

C: \ Web Development \ Java & JavaScript \ Base64 1.9


Base64 1.9 - Detailed Description Page

Click to view Base64 1.9 screenshot

Program ID:

4685

Author:

Canadian Mind Products     All programs by this author

Downloads:

12

License:

Freeware [?]

Cost:

$0.00 US

Operating Systems:

win98 winme winnt windows2000 winxp windows2003 vista

Size:

560K

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

XML Menu Suite iconXML Menu Suite 2.21   (2010-02-20)   new
Build web menus using XML data and CSS for look and feel

EMX Javascript Professional iconEMX Javascript Professional 3.3   (2010-02-19)   new
Resource with free JavaScript examples for cut and paste into web pages.

AllWebMenus Pro iconAllWebMenus Pro 5.2.814   (2010-02-17)   new
DHTML menu, JavaScript menu and CSS menu builder that requires no programming!

Home Sellers Proceeds Calculator iconHome Sellers Proceeds Calculator 2.1.1   (2009-11-21)   new
An easy-to-use Home Sellers Proceeds Calculator for web sites.

Coalesys PanelBar for JSP iconCoalesys PanelBar for JSP 4.0   (2009-11-18)   new
Slide menu web control for JSP with support for IE, Firefox, Opera and others

Coalesys WebMenu for JSP iconCoalesys WebMenu for JSP 5.0   (2009-11-18)   new
Popup menu web control for JSP with support for IE, Firefox, Opera and others

Deluxe Tree iconDeluxe Tree 3.15   (2009-10-15)   update
Create fast and effective web site navigation with JavaScript Tree Menu!

Agama Web Buttons iconAgama Web Buttons 2.67   (2009-09-25)   new
Professional tool for creating roll-over and animated Web Buttons.

ActiveWidgets iconActiveWidgets 2.5.4   (2009-07-13)   new
Very fast AJAX datagrid and many high-quality javascript UI components.

EJS TreeGrid iconEJS TreeGrid 5.9   (2009-03-01)   new
DHTML/AJAX component to display and edit data in tree, table, grid, Gantt chart



Note: We do not approve of those who use warez, crack, serial or other illegal methods




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:

Download Free Software


Home | Featured | Submit | Link To Us | Contact Us | FAQ | About Us