Skip to content

Releases: vSEK1RO/libbasen

v1.1.0

30 Sep 15:38
Compare
Choose a tag to compare

Caution

fix: incorrect first non zero byte in baseN::decode

  • basen cli tool with followed arguments:
    • -t for specifying encoding type (base58, base58check, hex, base64)
    • -d flag for decoding
    • -a for specifying custom alphabet
  • decoding map type was changed from int8_t -> uint8_t; if char doesnt exist in alphabet value was changed from -1 -> 255
  • basen::Exception class, basen::Exception::Code enum for throwing custom exceptions
  • GPL-3.0 -> LGPL-3.0
  • uint64_t -> size_t

v1.0.3

28 Sep 10:24
Compare
Choose a tag to compare

Deprecated (check v1.1.0 description)

  • fixed: incrorrect base64 padding if size % 3 == 2

v1.0.2

26 Sep 17:32
Compare
Choose a tag to compare

Deprecated (check v1.0.3 description)

  • Deleted unnecessary condition in base64::encode
  • Better tests coverage
  • make cover

v1.0.1

23 Sep 16:45
Compare
Choose a tag to compare

Deprecated (check v1.0.3 description)

  • Documentation for existing functionality, hosted on gh-pages
  • Removed macro SHA256_DIGEST_LENGTH
  • Fixed c like overload of base58 (now returns offset)

v1.0.0

21 Sep 12:49
Compare
Choose a tag to compare

Deprecated (check v1.0.3 description)

was implemented base functionality:

  • baseN - encoding, decoding from arbitrary base O(N^2)
  • base64 - encoding, decoding from base64 (+/ alphabet) O(N)
  • hex - encoding, decoding from hex (encode in lower case, decode from both) O(N)
  • base58 - encoding, decoding, encodeCheck, decodeCheck (bitcoin alphabet) O(N^2)

and also sha256 c++ wrapper over c implementation for base58 checksum