Re: error in encrypt / Decrypt

Viktor Dukhovni <[email protected]>
Newsgroups gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
On Mon, Sep 02, 2024 at 08:32:22AM -0400, Michael Richardson wrote:

>     > You probably want to ask for help with the underlying problem you're
>     > trying to solve by attempting to encrypt with EC keys, rather than ask
>     > how to encrypt with EC keys.
> 
> It's a reason I still like RSA :-)

Well, you don't want to directly encrypt data with RSA either, for
end-to-end data encryption, CMS (or PGP, ...) is the appropriate
high-level tool.  And with CMS one needs to carefully consider whether
to Encrypt-then-Sign or Sign-then-Encrypt.

The fact that RSA directly supports encryption of data up to the modulus
size is often more a curse than a blessing.

-- 
    Viktor.


-- 
You received this message because you are subscribed to the Google Groups "openssl-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openssl-users+unsubscribe-MCmKBN63+Bmbup2nOX2J7Q@public.gmane.org
To view this discussion on the web visit https://groups.google.com/a/openssl.org/d/msgid/openssl-users/ZtW2xHYKPS0cnXJo%40chardros.imrryr.org.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.