Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README
crypto.rkt
crypto_authenticate.rkt
crypto_box.rkt
crypto_hash.rkt
crypto_nonce.rkt
crypto_secret.rkt
crypto_short_hash.rkt
crypto_sign.rkt
random.rkt
sodium.rkt
test.rkt

README

Version 0.1 2013-04-27

A Racket Scheme binding for libsodium-0.4.1 (available at http://download.dnscrypt.org/libsodium/releases/).
libsodium is a machine-independent version of NaCL (Networking and Cryptography Library - http://nacl.cr.yp.to/).

To construct libsodium-0.4.1 simply unpack the *.tar.gz file and incant:

./configure
make
make check
make install

to build the library and install it as /usr/local/lib/libsodium.*

The Racket bindings expect to find libsodium.* in /usr/local/lib and if you
install it elsewhere change line 11 of sodium.rkt:

        (define sodium (ffi-lib "/usr/local/lib/libsodium" '("4" #f)))

to reflect your choice.

To use the bindings just include the path ".../bindings/libsodium/crypto.rkt" in the (require ...) declaration
of your module.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.