Base64

Rating   Downloads : 237
Price :   0.00  Freeware

Size : 0.51MB
Version : 1.9 Minor Update  
OS

Java , Linux , Mac OS X , Unix , Win2000 , Win7 x32 , Win7 x64 , WinServer , WinVista , WinVista x64 , WinXP 

Base64

Java to encode/decode Base64 and Baseu

This program is a freeware method of encoding 8-bit figures using

only ASCII savings characters much like UUENCODE.

UUENCODE embeds a filename exactly where BASE64 will not. You will certainly

see BASE64 utilized in coding digital certificates, in

encoding user: password string in an Authorization: header

with regard to HTTP. The spec will be described in RFC 2045.

Dont confuse This program along with x-www-form-urlencoded which

is dealt with by java. net. URLEncoder. encode/decode or

This program u.

This program 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 / plus = all have unique meaning in URLs.

This program u gets around this issue. This is a variant on This program

that uses - _ and * in preference to / and =, so that it

can be used in URLEncoded contexts with or without

URLEncoding.

Use base64 such as this:

// This program armouring

import com. mindprod. base64. This program ;

...

// sample byte array to encode

byte[] toSend sama dengan (byte)0xfc, (byte)0x0f, (byte)0xc0;

// create encoder object

This program base64 sama dengan new This program ();

base64. setLineLength( 72 ); // default

// encoding a byte[]

String send = base64. encoder( toSend );

// decoding a byte[]

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

use This program u the same way:

// This program u armouring

import com. mindprod. base64. This program u;

...

// sample byte array to encode

byte[] toSend = (byte)0xfc, (byte)0x0f, (byte)0xc0;

// create encoder item

This program u base64u = new This program u();

base64u. setLineLength( 72 ); // default

// development a byte[]

Thread send = base64u. encoder( toSend );

// decoding a byte[]

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

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

Example. coffee

to run:

java. exe com. mindprod. base64. Illustration

You can find some alternatives for Base64 here .


Base64

Requirements :

Java 1.2+

 


   Questions or Problems with This Program ! | Report Bad Link

If you have any questions please post it and we will answer it asap .

[ Comments allowed for anonymous users, please dont register ]
 

So far so good :
No Comments :: No Problems :: No Answers

Other software for same Developer :




Similar software : Base64 alternative



Please Scan for Viruses before use .