Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
== Outdated egg! This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for [[/eggref/5/rabbit|the CHICKEN 5 version of this egg]], if it exists. If it does not exist, there may be equivalent functionality provided by another egg; have a look at the [[https://wiki.call-cc.org/chicken-projects/egg-index-5.html|egg index]]. Otherwise, please consider porting this egg to the current version of CHICKEN. [[tags:egg]] == rabbit [[toc:]] == Usage (require-extension rabbit) == Documentation The {{rabbit}} library is an implementation of the [[https://en.wikipedia.org/wiki/Rabbit_%28cipher%29|Rabbit stream cipher]]. Procedure {{rabbit-make}} creates an encryption context: <procedure>rabbit-make:: KEY -> CTX</procedure> where {{KEY}} is a blob containing the encryption key. <procedure>rabbit-destroy!:: CTX -> VOID</procedure> Destroys the encryption context. <procedure>rabbit-encode!:: CTX * BLOB -> BLOB </procedure> Encrypts the given blob. This procedure modifies its argument and returns the modified blob. <procedure>rabbit-decode!:: CTX * BLOB -> BLOB</procedure> Decrypts the given blob. This procedure modifies its argument and returns the modified blob. == Examples (use rabbit) (let* ((key (string->blob "password")) (data (string->blob "important data")) (ctx (rabbit-make key))) (rabbit-encode! ctx data)) == About this egg === Author [[/users/ivan-raikov|Ivan Raikov]] === Version history ; 1.0 : Initial release === License Martin Boesgaard, Mette Vesterager, Thomas Christensen and Erik Zenner; adapted to Chicken Scheme by [[/users/ivan-raikov|Ivan Raikov]]. This library is released in the public domain.
Description of your changes:
I would like to authenticate
Authentication
Username:
Password:
Spam control
What do you get when you add 15 to 6?