Skip to content

Releases: mttbernardini/mbc

v0.2

29 Aug 13:09
Compare
Choose a tag to compare
v0.2 Pre-release
Pre-release

libmbc

  • Optimization in conversion to/from hex, using a map instead of sscanf and sprintf.
  • Renamed global internal keys in xor_key and swap_key.
  • swap_key is now statically allocated (for it being max 8 bytes long).
  • [bugfix] Fixed bug with swap_key generation
  • [bugfix] Prevent floating point exception when encoding/decoding 0-sized data (edge case).

mbc

  • Added -u option to output uppercase characters on hex encoding.
  • Added trailing newline on hex encoding and -n option to disable it.
  • [bugfix] NUL was appended in wrong place on hex decode.
  • [bugfix] Fixed some memory leaks.
  • General code revision and simplification.

other stuff

  • Added unit, integration a random tests.
  • Version format is now MAJ.MIN.REV, revision number is available only when cloning the repo.
  • Added Apache License 2.0.
  • Typos and minor bugfixes.

v0.1

28 Aug 22:45
Compare
Choose a tag to compare
v0.1 Pre-release
Pre-release

First version and working release of the MBC library and CLI.