travist / jsencrypt

A zero-dependency Javascript library to perform OpenSSL RSA Encryption, Decryption, and Key Generation.
http://www.travistidwell.com/jsencrypt
Other
6.65k stars 2.01k forks source link

Can the ciphertext length of JSENCRYPT 3.3.2 be controlled #302

Open yantx opened 10 months ago

yantx commented 10 months ago

Can the ciphertext length of JSENCRYPT 3.3.2 be controlled, when my backend interface decrypts, the ciphertext length cannot exceed 128, the length of the public key provided by the interface is 216, and the length of the plaintext that needs to be encrypted is 16