1. evhan
  2. chicken-tweetnacl

Overview

chicken-tweetnacl

What?

TweetNaCL, packaged for CHICKEN Scheme.

Why?

Fun.

Also, it's nice and tiny and easy to link statically into small programs.

How?

(use tweetnacl)

After that, the API is the same as for NaCl proper, except that anywhere you'd pass a byte array in the C API, you should use a blob instead.

The following procedures are exported:

crypto-verify-16
crypto-verify-32
crypto-stream
crypto-stream-xor
crypto-onetimeauth
crypto-onetimeauth-verify
crypto-secretbox
crypto-secretbox-open
crypto-scalarmult
crypto-scalarmult-base
crypto-box-keypair
crypto-box-beforenm
crypto-box-afternm
crypto-box
crypto-box-open
crypto-hash
crypto-sign-keypair
crypto-sign
crypto-sign-open

FAQ

  • I'm a whistleblower on the run from the US government, and my very life depends on strong crypto. Should I use this library?

Um, no.

  • I'm not being hunted by the US government, but cryptographic security is still incredibly important to me. Should I use this library?

Absolutely not.

  • I just want to play with some cryptographic primitives in Scheme. Should I use this library?

By all means, yes.

  • This is stupid, who can I blame?

Evan Hanson evhan@foldling.org.

License

Public domain, same as NaCl (and presumably TweetNaCl).