Skip to content

Releases: Meeco/cryppo-js

releases/2.0.0-beta.2

releases/2.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

bump up beta version

releases/2.0.0-beta.1

releases/2.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

exported missing EncryptionKey class and fix documentation for decryption.

2.0.0-beta.0

2.0.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

beta release version 2.0

It contains breaking changes.

following methods now accepts data as bytes (Uint8Array) and key as EncryptionKey (class)

  • encryptWithKey
  • encryptWithGeneratedKey
  • encryptWithKeyDerivedFromString

the following method now decrypt and return bytes (Uint8Array)

  • decryptWithKey

0.9.0

Choose a tag to compare

@vijayshiyani vijayshiyani released this 25 Sep 05:22
d7770e9

Allow separate encoding for string and binary.

The previous version default encoding was 'raw', suitable for binaries and 1-byte UTF-8 string. It was not suitable to encrypt and decrypt multi bytes UTF-8 string. e.g. data string '鍵键' encrypted with 'raw' encoding will produce incorrect decrypted value.

This version introduces separate encoding for string and binary and provides two different methods to encrypt and decrypt string and binary.

HMAC support and not encrypting empty strings

Choose a tag to compare

@brewdium brewdium released this 17 Sep 05:34

Functions

  • encryptWithKey
  • encryptWithKeyUsingArtefacts
    now return null instead of a serialised blank string when encrypting an empty string
    Functions
  • decryptWithKey
  • decryptWithKeyUsingArtefacts
    now return null when decrypting a serialised empty string

New exposed function

  • hmacSha256Digest

allow creating Hmac digest as Hex

Choose a tag to compare

@vijayshiyani vijayshiyani released this 11 Sep 05:13
9f298df

Add function to support HMAC digest

0.6.2

Choose a tag to compare

@zbarbuto zbarbuto released this 22 Jul 22:11

Only run legacy encryption fallback when key derivation is required

  • Fixes an issue that caused failed encryptions would hit max call stack issue.

exposed extra util method deSerializeDerivedKeyOptions

Choose a tag to compare

@brewdium brewdium released this 14 May 07:22

exposed extra util method deSerializeDerivedKeyOptions