Skip to content

Releases: SSbit01/singlecrypt-text

singlecrypt-text@4.1.2

15 Feb 12:34

Choose a tag to compare

singlecrypt-text@4.1.1

13 Feb 14:18

Choose a tag to compare

v4.1.1

fix: types

singlecrypt-text@4.1.0

13 Feb 13:37

Choose a tag to compare

feat: additionalData parameter

singlecrypt-text@4.0.3

09 Dec 21:18

Choose a tag to compare

v4.0.3

refactor

singlecrypt-text@4.0.2

08 Dec 13:03

Choose a tag to compare

Breaking Changes:

  • refactor: urlSafe parameter was removed from decryptTextSymmetrically, now it should know wether to use the base64 or base64url` alphabet depending on the ciphertext.
  • refactor: urlSafe parameter was removed from the SingleCryptText constructor.

New

  • feat: add urlSafe parameter in the encrypt instance method of SingleCrypt.

singlecrypt-text@3.0.4

07 Dec 20:50

Choose a tag to compare

v3.0.4

refactor

singlecrypt-text@3.0.2

03 Dec 17:52

Choose a tag to compare

singlecrypt-text@3.0.1

03 Dec 17:36

Choose a tag to compare

v3.0.1

fix: docs

singlecrypt-text@3.0.0

03 Dec 17:25

Choose a tag to compare

Breaking Changes:

  • refactor: urlSafe parameter is now enabled by default.
  • refactor: rename createSymmetricKeyWithText to createSymmetricKeyFromText.
  • feat: add extractable parameter in createSymmetricKeyFromText
  • refactor: change parameters order:
    • createSymmetricKeyFromText: from text, textEncoder to text, extractable, textEncoder.
    • encryptTextSymmetrically: from text, key, textEncoder, urlSafe to key, text, urlSafe, textEncoder.
    • decryptTextSymmetrically: from encryptedText, key, textDecoder, urlSafe to key, encryptedText, urlSafe, textDecoder.

New

  • feat: a class helper SingleCryptText is introduced, it simplifies the usage of this library. Read the documentation for more details.

singlecrypt-text@2.0.0

03 Dec 10:58

Choose a tag to compare

Breaking Changes:

  • refactor: rename encryptSymmetricallyText to encryptTextSymmetrically.
  • refactor: rename decryptSymmetricallyText to decryptTextSymmetrically.