Skip to content

RSA in JavaScript: Your Numbers Are Too Small

Article DiscussionsSudoSecurity · · 1 min read

Created
2 Jun 2023
Last reply
over 3 years ago
Replies
0
Views
0
Reactions
0

Discussion of the blog article RSA in JavaScript: Your Numbers Are Too Small.

JavaScript cannot do RSA with numbers. Not slowly, not imprecisely — at all. The largest modulus a Number can handle is 26 bits and RSA needs 2048, and the failure is silent. Here's the implementation that works and why.

Read the full article →

Discussion thread — share findings, corrections and follow-ups below.

0 replies

    Post a comment

    Join the discussion to share your thoughts.

    Sign in