hashlib_codecs 2.3.0 hashlib_codecs: ^2.3.0 copied to clipboard
Fast and error resilient codecs. Currently supporting Binary(Base2), Hexadecimal(Base16), Base32, Base64, BigInt.
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
- Class:
2.2.0 #
- Support encoding and decoding with PHC string format specification
- New Class :
PHCSF
- New Constant:
phcsf
- New Methods :
toPHCSF
,fromPHCSF
- New Class :
2.1.0 #
- Adds more alphabets to
Base32Codec
. Additional alphabets are:- base32hex
- Lowerase base32hex
- Crockford's Base32
- Geohash's Base32
- z-base-32
- Word-safe alphabet
- Allows the
padding
parameter to be effective to any codecs inBase32Codec
andBase64Codec
.
2.0.0 #
- Breaking: Removes all constant exports.
- They are now available inside codec class. e.g.:
Base64Codec.urlSafe
- They are now available inside codec class. e.g.:
- 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
- New class:
- 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
- Generic encoders:
1.2.0 #
- Adds
BigInt
codec support.- New class:
BigIntCodec
- New methods:
fromBigInt
,toBigInt
- New constant:
bigintLE
,bigintBE
- New class:
- Updates documentations.
1.1.1 #
- Updates project description.
1.1.0 #
- Fixes padding issues with
base2
andbase16
- In
toBase32
, uses the parameterlower
replacingupper
. - Transfers
fromBase64Url
tofromBase64
with extended alphabet. - Transfers
toBase64Url
totoBase64
with optionalurl
parameter. - Improves documentation
1.0.0 #
- First release