base64 decode and encode

2013 年 6 月 28 日1,8950

You can use this base64 sample decoder and encoder to:

Frend Czech links

Last minute Zajezdy

Faktura

Hry na mobil

Java Hry

Search Czech

Hry a tapety na mobil

Affiliate programy

The Form.SizeLimit is 10000000bytes. Please, do not post more data using this form.

This online sample demonstrates functionality of

a base64 property,

ByteArray class

and Huge asp file upload.

You can convert texts using several code pages (using CharSet property) from Unicode string to byte array and then convert the binary data to a Base64 string.

The sample uses a special Base64 algorithm written for the ByteArray class. The Base64 conversion algorithm is written in C++ and works with binary (VT_ARRAY | VT_UI1) and String (BSTR) OLE data. It contains hi-speed and low-memory consumption BSTR->BSTR, BSTR->BINARY, BINARY->BSTR and BSTR->BSTR algorithms. Source code of the coding algorithm is available within distribution license of a ScriptUtilities library.

The ByteArray class was primarily designed

to work with ASP and VBScript, but you can use it with any other language working with COM (ActiveX, OLE) objects,

such is VBA (VBA5, VBA6, Word, Excel, MS Access), VBScript and JScript in windows scripting host

(.wsh, .chm or .hta applications, Outlook or echange server-side scripts), VB.Net, C# or j# in ASP.Net and others.

Another online samples (utilities, converting, upload)

On-line base64 decoder and encoder - let's you convert text data and files from/to a Base64 string.

Punycode/IDN decoder and encoder - online conversion between unicode (utf-8), punycode and IDNs (Internationalized Domain Names)

URL Encoder, escape with charset conversion

URL Decoder, unescape with charset conversion

Online binary file to SQL field (HexString or base16) - let's you create an SQL statement to insert/update binary or a text file to a SQL database field. You can also create whole WSH (VBScript) to do the action.

Online Codepage & Charset text and file converter - let's you convert text, html and files between many code pages.

Live upload with progress sample - simple upload of files to ASP with progress bar.

Live upload with image preview - Upload with many additional features: image preview, size preview and file type checking (before upload), server-side checking for file type, file contents, file size and upload size and more.

IAF password recovery - Recovery passwords from your IAF File.

Online IAF file generator - Create email account configuration file for Outlook express online.

Online IAF decoder - Decode IAF configuration files online.

Gmail pop and smtp configuration generator - Outlook config for Gmail.

quoted-printable encoder online sample.

quoted-printable decoder online sample.

Related links

Base64 property

ScriptUtilities ByteArray class

Free base64 encode VBScript function

Free base64 decode VBScript function - Base64 decoding + basic authentication sample.

Download trial version of ScriptUtilities 800kB .exe setup, evaluation version with help and samples.

RFC 3548 - The Base16, Base32, and Base64 Data Encodings.

0 0