2.1.2 • Published 1 year ago

jsencrypt-ext v2.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Introduction

jsencrypt is a popular RSA Javascript encryption library, but it does not support to encryt/decrypt long message. Although RSA is not recommended to encrypt long plaintext, there are still many business scenes to achieve it. I have extended the lib, based on jsencrypt.

How to use

import JSEncrypt from "jsencrypt-ext";

const encryptInstance = new JSEncrypt();
encryptInstance.setPublicKey("publicKey");

const ciphertext = encryptInstance.encrypt("long plaintext");

const decryptInstance = new JSEncrypt();
decryptInstance.setPrivateKey("privateKey");

const plaintext = decryptInstance.decrypt("ciphertext");
2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago