Well I don't see many other folks commenting on this but recognize that this same challenge may be presented to other folks moving from RSA to ECC. My latest thought is that what I am experiencing is similar to maximum clear text length available for encryption in RSA being defined by key length. So, in RSA a 2048 bit length key will provide for a clear text length (string) of just under 256 bytes. So, my error, it appears, was in thinking that I could encrypt the entirety of a long string via ECC but in reality I need to leverage a symmetric (like AES) solution to encrypt the larger string and then ECC to encrypt the password.
Obviously, elliptical curve cryptography is not my day job. :-) Feel free to provide clarity to the nonsense that I have described.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.