[plt-scheme] Accessing openssl from MzScheme, sending control-c (end of text)

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Sat Jul 7 07:59:49 EDT 2007

Erich Rast wrote:
 > Hi,
 > This is a possibly naive question, as I'm not all too familiar with
 > escape sequences, subprocesses, and shells. I'd like to compute an sha1
 > checksum of a utf8 string using openssl on OS X.

If sha1 is what you are after, it is easier to use one of
the PLaneT packages. For example:

   > (require (planet "digest.ss" ("soegaard" "digest.plt" 1 2)))
   > (sha1 #"Hello world")


The crypto package is also an option:


Jens Axel Søgaard

Posted on the users mailing list.