publicEncrypt icon indicating copy to clipboard operation
publicEncrypt copied to clipboard

fix: length of the result buffer may less than the nodeCrypto's

Open tychenjiajun opened this issue 5 years ago • 1 comments

Add the following codes in test

t.equals(myEnc.length, nodeEnc.length, 'my public encrypted length node public encrypted length')

and find the bug.

I think the results should have the same length.

tychenjiajun avatar Jun 21 '20 15:06 tychenjiajun

thanks, this solved my problem

ymhrainy avatar Mar 28 '23 03:03 ymhrainy