hashlib_codecs 2.5.0 copy "hashlib_codecs: ^2.5.0" to clipboard
hashlib_codecs: ^2.5.0 copied to clipboard

Fast and error resilient codecs. Currently supporting Binary(Base2), Hexadecimal(Base16), Base32, Base64, BigInt.

2.5.0 #

  • Support UTF-8 encoding and decoding.
    • New class: UTF8Codec
    • New methods: toUtf8, fromUtf8
  • Renames:
    • HashlibCodec -> IterableCodec
  • Minor performance impovements

2.4.1 #

  • Refactor: Remove all sync generator to improve runtime.

2.4.0 #

  • Breaking Changes: Uses string for salt and hash in CryptData
  • New class CryptDataBuilder is available to construct CryptData instances.

2.3.0 #

  • Breaking Changes: Renames PHCSF -> CryptFormat. Affected names:
    • Class:
      • PHCSF -> CryptFormat
      • PHCSFData -> CryptData
      • PHCSFEncoder -> CryptEncoder
      • PHCSFDecoder -> CryptDecoder
    • Constant:
      • phcsf -> crypt
    • Methods:
      • toPHCSF -> toCrypt
      • fromPHCSF -> fromCrypt

2.2.0 #

2.1.1 #

  • Adds new alphabet to Base64Codec: bcrypt

2.1.0 #

2.0.0 #

  • Breaking: Removes all constant exports.
    • They are now available inside codec class. e.g.: Base64Codec.urlSafe
  • Breaking: Modify parameters of all public methods.
  • Improves encoding and decoding algorithm.
  • Adds Base-8 (Octal) codec support
    • New class: Base8Codec
    • New methods: fromOctal, toOctal
  • Renames a lot of exports
    • Uint8Converter -> BitConverter
    • Uint8Codec -> HashlibCodec
    • BinaryCodec -> Base2Codec
    • B16Codec -> Base16Codec
    • B64Codec -> Base64Codec
  • Separates base encoder and decoders
    • Generic encoders: BitEncoder, AlphabetEncoder
    • Generic decoders: BitDecoder, AlphabetDecoder

1.2.0 #

  • Adds BigInt codec support.
    • New class: BigIntCodec
    • New methods: fromBigInt, toBigInt
    • New constant: bigintLE, bigintBE
  • Updates documentations.

1.1.1 #

  • Updates project description.

1.1.0 #

  • Fixes padding issues with base2 and base16
  • In toBase32, uses the parameter lower replacing upper.
  • Transfers fromBase64Url to fromBase64 with extended alphabet.
  • Transfers toBase64Url to toBase64 with optional url parameter.
  • Improves documentation

1.0.0 #

  • First release
2
likes
160
pub points
76%
popularity

Publisher

verified publisherbitanon.dev

Fast and error resilient codecs. Currently supporting Binary(Base2), Hexadecimal(Base16), Base32, Base64, BigInt.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

paypal.me

License

BSD-3-Clause (license)

More

Packages that depend on hashlib_codecs