Skip to content

small portable base32 algorithm implemented in C.

License

Notifications You must be signed in to change notification settings

synacktraa/base32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base32




Small and portable Base32 Converter cli tool written in C.


Usage

Compile

make


Help

Output:

*IMP*: Put space separated data in quotes.
|CLI options|:-
        -e - Encodes the data string
        -d - Decodes the data string
        -i - takes next argument as data string
        -f - takes next argument as filename
        -o - takes next argument as filename and saves the output in file
             (if filename is not given, it defaults to base32Out)

Encoding

./base_32 -e -i "Portable cli tool o_O"

Output:

KBXXE5DBMJWGKIDDNRUSA5DPN5WCA327J4==

./base_32 -e -f infile

Output:

KN4W4QLDNN2HEYLB

Decoding

./base_32 -d -f encoded

Output:

small portable base32 in C.

./base_32 -d -i KN2GC4RAMFXGIICGN5ZGWIDUNBUXGICQOJXWUZLDOQQDUKI=

Output:

Star this project :), it boosts my ego.

Redirecting output to a file

Using the redirection operator↴
./base_64 -d -i KN2GC4RAMFXGIICGN5ZGWIDUNBUXGICQOJXWUZLDOQQDUKI= > out.txt
Using the -o argument with a filename↴
./base_64 -d -f encoded -o out
Using the -o argument without a filename↴
./base_64 -e -f infile -o

ps: "-o" without a parameter uses the default filename 'base32Out'


© This tool is based on ASCII charset.


License

Copyright for portions of project base32 are held by [Github Account SynAcktraa Owner, 2022] as part of project base32

All other copyright for project base32 are held by [Github Account SynAcktraa Owner, 2022].

Check the LICENSE for more details.

About

small portable base32 algorithm implemented in C.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published