Skip to content

Base 64 decoder written entirely in bash shell script (no external dependencies)

Notifications You must be signed in to change notification settings

tylerl/base64decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Base64 decoding routine written entirely in bash, with no external dependencies.

Usage:
  base64decode < input > output

This code is absurly inefficient; it runs aproximately 12,000 times slower than
the perl-based decoder. The difference is that this code doesn't require you to
install any external programs, which may be important in some cases.

To decode using perl instead, use the following:

base64decode() {
   perl -e 'use MIME::Base64 qw(decode_base64);$/=undef;print decode_base64(<>);'
}

About

Base 64 decoder written entirely in bash shell script (no external dependencies)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages