Skip to content

steinerAdi/baseX-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Statuscodecov

Base X converter

Coverts base-8, base-16, base-32 to byte array and vice-versa.

About The Project

Build to convert byte patterns to base-X conversion.

  • Base-8:
    Can be used to enter a byte with a basic keyboard. The numbers 1-8 are used.
  • Base-16:
    Is a half byte and needs no padding bit. It can be used on a hex keyboard with characters 0-9 and a-f/A-F.
  • Base-32:
    Most used for secrets in cryptographic as it can be entered with a basic keyboard. The used characters areA-Z and 2-7. For padding, the character = is used.
  • Base-64:
    It increases the base-32 with lowercase letters, the full decimal digits and two special characters. It can also be entered with the basic keyboard.
    Note: Currently not implemented.

Build With

Getting Started

Installation

Include the source and header files into your project. The header files are located in the inc directory. The source files are located in the src directory.

Base-8 Conversion

Implemented and tested. Include the inc/base8_converter.h header file. Do not forget to compile the file src/base8_converter.c for using these functions.

Base-16 Conversion

Implemented and tested. Include the inc/base16_converter.h header file. See the doxygen comments for base16_decodeString and base16_encodeBytes functions. Do not forget to compile the file src/base16_converter.c for using these functions.

Base-32 Conversion

Implemented and tested. Include the inc/base32_converter.h header file. See the doxygen comments for base32_decodeString and base32_encodeBytes functions. Do not forget to compile the file src/base32_converter.c for using these functions.

Base-64 Conversion

!TODO

Usage

Converter to read and write byte data with different bases.

License

Distributed under the GNU general public license. See LICENSE for more information.

Authors

Acknowledgments

About

A c library to convert data arrays to base X representation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors