Skip to content

Version 0.3.2

Latest

Choose a tag to compare

@mjstephan mjstephan released this 25 Jun 15:19

Note: This is a pre-1.0.0 release intended for initial development purposes. The public API is subject to change without notice and should not be considered stable.

  • Added:
    • JSON Web Token (JWT) encoding and decoding support in nas-utils.jwt.
    • Encryption and decryption of data using secret in nas-utils.crypto.
    • Key derivation function (KDF) in nas-utils.crypto.
    • Support for HMAC hashing for all supported digest types in nas-utils.crypto.
    • Helper functions for hex to binary and binary to hex conversions in nas-utils.crypto.
    • Functions supported for password hashing, which now include:
      • AGRON2I
      • ARGON2ID
      • PBKDF2_SHA256
      • PBKDF2_SHA512
      • SCRYPT
  • Fixed:
    • Minor bug in the nas-utils.crypto module to improve encryption error handling.
  • Refactored:
    • Moved the following enumerations into nas-utils init for better organization:
      • CipherType
      • DigestType
      • LogLevel
    • Added optional parameters for logging in nas-utils.logger_rolling_file.
    • Return status code in addition to data for encrypt and decrypt in nas-utils.crypto.