Skip to content

mklemm/base-n-codec-net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

base-n-codec-net

BaseN Encoder/Decoder (.NET Version)

This little utility library implements an encoding an decoding algorithm to encode a sequence of bytes into a sequence of (preferably printable) characters, and decode it back from this representation into a byte sequence.

It is targeted at relatively short byte sequences (up to ~1000 bytes), which it treats as a single very long binary encoded integer number, and converts this number into the desired baseN encoding by subsequent division/remainder. t is best suited e.g. for UUIDs, GUIDs, Hash Values (MD5, SHA1, SHA2 etc.) and similar binary constructs, which can be converted to a suitable representation e.g. for inserting this into XML, a database, or a plain text document.

There may be more efficient approaches than this.

About

BaseN Encoder/Decoder (.NET Version)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages