You are looking at historical revision 37016 of this page. It may differ significantly from its current revision.
rabbit
Documentation
The rabbit library is an implementation of the Rabbit stream cipher.
Procedure make-context creates an encryption context:
[procedure] make-context:: KEY -> CTXwhere KEY is a blob containing the encryption key.
[procedure] destroy-context!:: CTX -> VOIDDestroys the encryption context.
[procedure] encode!:: CTX * BLOB -> BLOBEncrypts the given blob. This procedure modifies its argument and returns the modified blob.
[procedure] decode!:: CTX * BLOB -> BLOBDecrypts the given blob. This procedure modifies its argument and returns the modified blob.
Examples
(import rabbit) (let* ((key (string->blob "password")) (data (string->blob "important data")) (ctx (make-context key))) (encode! ctx data))
About this egg
Author
Version history
- 2.0
- Ported to CHICKEN 5
- 1.0
- Initial release
License
Martin Boesgaard, Mette Vesterager, Thomas Christensen and Erik Zenner; adapted to Chicken Scheme by Ivan Raikov.
This library is released in the public domain.