Changeset 13198 in project


Ignore:
Timestamp:
02/07/09 02:35:35 (11 years ago)
Author:
Alaric Snell-Pym
Message:

Changes applied for alaric (217.205.201.45) through svnwiki:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/aes

    r13160 r13198  
    1414<example>
    1515<expr>(use aes)</expr>
     16<expr>(use crypto-tools) ; for the hexstring functions</expr>
    1617<expr>(define encryptor (make-aes128-encryptor (hexstring->blob "00010203050607080A0B0C0D0F101112")))</expr>
    1718<expr>(define decryptor (make-aes128-decryptor (hexstring->blob "00010203050607080A0B0C0D0F101112")))</expr>
     
    3738
    3839128-bit keys must be 16 bytes long, 192-bit keys 24 bytes, and 256-bit keys 32 bytes. Otherwise, an error will be signalled. Likewise, passing a blob of other than 16 bytes to a `PROCESSOR` will result in an error.
    39 
    40 <procedure>(blob->hexstring BLOB) => STRING</procedure>
    41 
    42 Takes an arbitrary blob, and returns a string made by encoding the blob in hexadecimal.
    43 
    44 <procedure>(blob->hexstring/uppercase BLOB) => STRING</procedure>
    45 
    46 As above, but using `ABCDEF` rather than `abcdef` in the string representation.
    47 
    48 <procedure>(hexstring->blob STRING) => BLOB</procedure>
    49 
    50 Creates a blob from a hexadecimal string. If the string is not even-lengthed, or contains characters outside of `[0-9a-fA-F]`, an error is signalled.
    5140
    5241== Authors
     
    10291== Version History
    10392
     93* 1.1: Removed non-AES-specific support functionality into the [[crypto-tools]] egg
    10494* 1.0: Initial release
Note: See TracChangeset for help on using the changeset viewer.