Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is a bug in the `RSAEncrypt` function pulled from [jsbn's rsa.js](http://www-cs-students.stanford.edu/~tjw/jsbn/) where the result of the RSAEncryption is not properly left-paded. Per http://tools.ietf.org/html/rfc2437#section-7.2.1; 4. Convert the ciphertext representative c to a ciphertext C of length k octets: C = I2OSP (c, k) where ``k`` is the length in octets of the modulus
- Loading branch information