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

Advertisements:  


C: \ Web Development \ Java & JavaScript \ Base64 1.9
Base64 1.9 - Detailed Description Page
Click to view Base64 1.9 screenshot

Advertisements:  
Program ID: 6458
Author: Canadian Mind Products     All programs by this author
Downloads: 7
License: Freeware [?]
Cost (USD): -
Operating Systems: win2000 winxp winvista winvistax64 win7x32 win7x64 win8x32
Size: 82K
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.

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.6+

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



Latest Releases in Web Development - Java & JavaScript
Likno Drop Down Menu Trees iconLikno Drop Down Menu Trees 1.1.152   (2013-06-27)   update
Likno Drop-Down Menu Trees - powerful html menu trees creation!
AllWebMenus Pro iconAllWebMenus Pro 5.3.912   (2013-06-07)   update
Top JavaScript menu/CSS menu/Drop-Down menu builder for Expression Web websites.
CSV iconCSV 6.9   (2013-02-19)   update
Java to read, write, align, sort, reshape, pack... comma, tab-separated files.
HunkIO iconHunkIO 1.8   (2013-02-19)   update
Java classes to readEntireFile, create a temp file etc.
Holiday Calculator iconHoliday Calculator 4.9   (2013-02-10)   update
Calculate when 68 holidays occur in any given year.
FileTimes iconFileTimes 2.0   (2012-12-11)   update
Read and set Windows file/dir times from Java: Create/LastModified/LastAccessed
Pentium iconPentium 1.6   (2012-12-11)   update
Java code to tell you facts about the Pentium and AMD CPU.
Mouse iconMouse 1.5   (2012-12-11)   update
In Java, allows you to find out where the mouse in on the screen
Atrise Everyfind iconAtrise Everyfind 9.3.2   (2012-10-30)   update
Javascript-based search engine for Web/HTML/DVD
ActiveWidgets iconActiveWidgets 2.6.1   (2012-10-17)   update
Very fast AJAX datagrid and many high-quality javascript UI components.


Advertisements:  


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 YouTube
DVD ripper for Mac

BitDefender 2013 Antivirus Plus iconBitDefender 2013 Antivirus Plus 2013: Antivirus, Antispam, and Firewall for your Personal Computer Xilisoft Video Converter Platinum iconXilisoft Video Converter Platinum 7.0.0.1121: Multifunctional video converter, convert video/audio files for digital devices. Movavi DVD Ripper iconMovavi DVD Ripper 7.1.1: Convert video, DVD, save to iPod, PSP, PDA, Zune, iPhone, any cellphone

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