Skip to content

Releases: Meeco/cryppo-js

releases/2.0.0-beta.2

17 Dec 07:58

Choose a tag to compare

releases/2.0.0-beta.2 Pre-release
Pre-release
bump up beta version

releases/2.0.0-beta.1

17 Dec 07:47

Choose a tag to compare

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

exported missing EncryptionKey class and fix documentation for decryption.

2.0.0-beta.0

17 Dec 07:13

Choose a tag to compare

2.0.0-beta.0 Pre-release
Pre-release

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

25 Sep 05:22
d7770e9

Choose a tag to compare

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

17 Sep 05:34

Choose a tag to compare

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

11 Sep 05:13
9f298df

Choose a tag to compare

Add function to support HMAC digest

0.6.2

22 Jul 22:11

Choose a tag to compare

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

14 May 07:22

Choose a tag to compare

exposed extra util method deSerializeDerivedKeyOptions