WARNING! API is subject to change. but you can take the current version and use it as-is if the current API is ok for you.
this is quick-and-dirty port of TweetNaCl to D. it's not a proper 'D rewrite' of TweetNaCl, it still shows it's C roots, but it works. and it has test suite and ddoc which original TweetNaCl lacks.