README.md

December 4, 2022 ยท View on GitHub

Base 64 Encoding/Decoding

Description

This is an optimized version of the common Base 64 encode/decode. It eliminates the repeditive calls to chr$() and asc(), as well as the linear searches I've seen in some routines. It also avoid shifting each byte encoded using multiplication and division.

This method does use a bit more memory in permanent lookup tables than most do. However, this eliminates the need for using vb's rather slow method of bit shifting (multiplication and division). A method I've not seen elsewhere.

It doesn't make much difference in the IDE, but does make a huge difference in the exe. On my machine it's as fast as commercial packages such as Eudora on encoding if not faster.

More Info

Submitted On2000-11-13 21:50:54
ByTim Arheit
LevelAdvanced
User Rating5.0 (25 globes from 5 users)
CompatibilityVB 5.0, VB 6.0
CategoryEncryption
WorldVisual Basic
Archive FileBase_64_En1126297302002.zip