Wiki
Download
Manual
Eggs
API
Tests
Bugs
show
edit
history
You can edit this page using
wiki syntax
for markup.
Article contents:
[[tags:egg]] == rabbit [[toc:]] == Documentation The {{rabbit}} library is an implementation of the [[https://en.wikipedia.org/wiki/Rabbit_%28cipher%29|Rabbit stream cipher]]. Procedure {{make-context}} creates an encryption context: <procedure>make-context:: KEY -> CTX</procedure> where {{KEY}} is a bytevector containing the encryption key. <procedure>destroy-context!:: CTX -> VOID</procedure> Destroys the encryption context. <procedure>encode!:: CTX * BYTEVECTOR -> BYTEVECTOR</procedure> Encrypts the given bytevector. This procedure modifies its argument and returns the modified bytevector. <procedure>decode!:: CTX * BYTEVECTOR -> BYTEVECTOR</procedure> Decrypts the given bytevector. This procedure modifies its argument and returns the modified bytevector. == Examples (import (chicken bytevector) (rabbit)) (let* ((key (string->utf8 "password")) (data (string->utf8 "important data")) (ctx (make-context key))) (encode! ctx data)) == About this egg === Author [[/users/lilianna-smolska|Lilianna Smólska]] === Repository [[https://git.linuxposting.xyz/afiw/chicken-rabbit/|https://git.linuxposting.xyz/afiw/chicken-rabbit/]] === Version history ; 3.0 : Ported to CHICKEN 6 ; 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 [[/users/ivan-raikov|Ivan Raikov]]; adapted to CHICKEN 6 by [[/users/lilianna-smolska|Lilianna Smólska]]. 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 18 to 11?