15. Bigloo A ``practical Scheme compiler'' User manual for version 3.2a January 2009 -- Cryptography

main page

top: | Bigloo A ``practical Scheme compiler'' User manual for version 3.2a January 2009

Cryptography

Chapters

Bigloo provides several functions for encrypting and decrypting documents. These are described in the chapter.

### 15.1 Advanced Encryption Standard (AES)

Bigloo support the symmetric AES crypto-system (also known as Rijndael) in Counter mode.

aes-ctr-encrypt text password [nbits 128] | bigloo procedure

aes-ctr-encrypt-mmap mmap password [nbits 128] | bigloo procedure

aes-ctr-encrypt-string string password [nbits 128] | bigloo procedure

aes-ctr-encrypt-port iport password [nbits 128] | bigloo procedure

aes-ctr-encrypt-file filename password [nbits 128] | bigloo procedure

The function `aes-ctr-encrypt` encrypts its parameter into a string that is the result of the function. The argument `text` is either a string, a memory mapped area, an input-port, or a file name. The argument `password` is a string containing the password used for encrypting the text. The optional argument `nbits` must either be `128`, `192`, or `256`.

aes-ctr-decrypt text password [nbits 128] | bigloo procedure

aes-ctr-decrypt-mmap mmap password [nbits 128] | bigloo procedure

aes-ctr-decrypt-string string password [nbits 128] | bigloo procedure

aes-ctr-decrypt-port iport password [nbits 128] | bigloo procedure

aes-ctr-decrypt-file filename password [nbits 128] | bigloo procedure

The function `aes-ctr-decrypt` decrypts a text previously encrypted with `aes-ctr-encrypt`.

This Html page has been produced by Skribe.
Last update Tue Jan 6 18:43:50 2009.