Commits

evhan committed 27c4196

remove note re: 32-bit (tested good) and simplify examples slightly

Comments (0)

Files changed (1)

 
     > (define key (bytevector 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15))
     > (define msg (string->utf8 "The rain in Spain falls mainly on the plain."))
+    
     > (siphash-2-4 key msg)
     ; => 8751579407287093977
-    > (let ((hash (siphash-4-8 key)))
-        (hash msg))
+    
+    > ((siphash-4-8 key) msg)
     ; => 13472556437817646137
-    > (define siphash-8-16 (make-siphash 8 16))
-    > (siphash-8-16
+    
+    > ((make-siphash 8 16)
        key
        (string->utf8
         "In Hertford, Hereford and Hampshire, hurricanes hardly ever happen."))
     ; => 9275736844991428064
 
-Notes
------
-This library hasn't been tested on 32-bit systems, and may fall over if
-used on one. It's on the TODO.
-
 Author
 ------
 Evan Hanson <evhan@foldling.org>