Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: ECC.pm ecc_encrypt $message clear text is limited in length

by JalapenoBob (Initiate)
on Feb 09, 2018 at 00:48 UTC ( [id://1208767]=note: print w/replies, xml ) Need Help??


in reply to ECC.pm ecc_encrypt $message clear text is limited in length

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.

  • Comment on Re: ECC.pm ecc_encrypt $message clear text is limited in length

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1208767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-26 09:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found