Mega Code Archive
Categories
/
JavaScript DHTML
/
Security
RSA Encoding in JavaScript
RSA Encoding
RSA-type:
Note that long keys will likely be slow.
keylength:
How many bytes?
key:
Binary
modulo:
Binary
text:
For sample values you can use:
Public Key: 10001
Modulo: 110010100001
Private Key: 101011000001