[racket] Another PLaneTs crypto lib usage question?...
Thanks for the response, but I'm not sure if that answers my question... I now understand that #:padding depicts an optional named parameter, but
(define dummy (encrypt cipher:aes-128 devicekey nonce #"1234567887654321" #:padding #f))
is not accepted by Racket, so how would I do it?
Thanks!
----- Original Message -----
From: Doug Williams
To: Rüdiger Asche
Cc: users at racket-lang.org
Sent: Saturday, April 28, 2012 10:54 PM
Subject: Re: [racket] Another PLaneTs crypto lib usage question?...
I have forked the crypto package to perform these actions for my own code and to fix some other problems with post 1.0.0 versions of OpenSSL. I submitted a bug report that at least removes the errors when we go to later OpenSSL versions, but haven't seen any response. I don't have the throughput to take over maintenance of the package, but would be happy to give my forked version over to anyone who does.
Do we have a process for taking over orphaned projects like this? Or does anyone know the original developers?
Doug
On Saturday, April 28, 2012, Rüdiger Asche wrote:
Hi there,
I'm working with the crypto lib from PLaneT. It actually works well, so far, thanks for the wrappers (it's a Scheme interface to OpenSSL).
My question is, how do I turn off padding, i.e. what do I have to pass (and where) as an additional parameter to e.g.
(define dummy (encrypt cipher:aes-128 devicekey nonce #"1234567887654321"))
to turn off padding (which would be the equivalent to calling EVP_CIPHER_CTX_set_padding())? I see that there is a wrapper for that function in the lib, but I guess I don't yet understand enough about syntaxes and wrappers to figure out how
(define (cipher-encrypt type key iv #:padding (pad? #t))
..
)
translates to a function call to encrypt where the pad parameter can be passed a value.
Thanks!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120430/e7d23a8b/attachment.html>