[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcrypt-devel
Subject:    Re: There is a maximum size of data to encrypt using RSA?
From:       Brad Hards <bradh () frogmouth ! net>
Date:       2012-08-03 10:54:42
Message-ID: 201208032054.42612.bradh () frogmouth ! net
[Download RAW message or body]

On Friday 03 August 2012 00:11:27 Tiago Queiroz wrote:
> I am trying to encrypt a block of 1249 bytes with RSA, but when I use
> gcry_sexp_build to build a s-expression to be encrypted the function
> return an empty s-expression.
Please don't try to do very low level crypto (like this) without detailed 
understanding. Its very easy to make a mistake that completely destroys the 
security of the system and not know.

A higher level implementation (e.g. PGP/GnuPG) would be a much better 
approach.

Brad

_______________________________________________
Gcrypt-devel mailing list
Gcrypt-devel@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic