El 06/04/19 a las 19:26, José Mejuto escribió:
El 05/04/2019 a las 19:08, Виктор Матузенко escribió:
Hi,

try this https://github.com/delphi-pascal-archive/Pascal-RSA


Hello,

Thank you. It is a bit "monster" but maybe I can split the necessary code. Thank you again.

There is no simple solution for a complex problem.
RSA implies a lot of backend: several symmetric ciphers (AES, Blowfish..., that are complex by their own. You don't want to use Caesar cypher), acceptable random generator, big integer arithmetic,  prime numbers,  several hash algorithms. And the library is leaving aside all PKI stuff: certificates, authorities  etc. And forget about memory protection etc I think it is a minimal RSA lib. In fact, maybe it's too simple. As far as I've seen it only has MD5 and SHA1 hash algorithms, many environments require at least sha256. But if it is only for internal use (you are in charge of both ends of communication) and not for critical top secret, it could be enough. I don't think you will find anything much more simpler.

--
Saludos

Santiago A.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to