There are some errors with crypto.plt with the latest versions of OpenSSL. I think AES should work okay, except for CTR mode, which is not supported by the default installation of OpenSSL. If you have any problem, I have a forked version of crypto.plt that works with later versions of OpenSSL. I put in a bug report on PLaneT some time ago, but I'm not sure anyone is actively supporting it.<br>
<br><div class="gmail_quote">On Sun, Apr 15, 2012 at 10:10 AM, Neil Van Dyke <span dir="ltr"><<a href="mailto:neil@neilvandyke.org">neil@neilvandyke.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div text="#000000" bgcolor="#ffffff">
Rüdiger Asche wrote at 04/15/2012 11:13 AM:
<div class="im"><blockquote type="cite">
<div><font face="Arial">in my Racket code, I need to
crypt/decrypt chunks of data using the AES algorithm.</font></div>
</blockquote>
<br></div>
I call "openssl" executable from Racket for most crypto algorithms.<br>
<br>
"openssl" is used widely, it's fast, and I can keep the native code in
separate host processes (for security/reliability, and for removing
some load from a Racket host process).<br>
<br>
I'm sure the protocols could be implemented in pure Racket code, and
using Racket's new-ish numerical optimizations features, but then I'd
have to audit.<br>
<br>
Neil V.<span class="HOEnZb"><font color="#888888"><br>
<br>
<div>-- <br>
<a href="http://www.neilvandyke.org/" target="_blank">http://www.neilvandyke.org/</a><br>
<br>
</div>
</font></span></div>
<br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br>