6 releases

Uses old Rust 2015

0.4.2 Sep 23, 2015
0.4.1 Sep 22, 2015
0.2.2 Sep 3, 2015

#11 in #onion

25 downloads per month
Used in infisical-api

BSD-2-Clause

155KB
3.5K SLoC

Rust 2.5K SLoC // 0.1% comments C 838 SLoC // 0.0% comments Python 109 SLoC // 0.2% comments

Build Status Coverage Status

Onion Salt

Documentation

The onion salt source code is an encryption protocol that generates nested "onions" which can be used in an onion-like routing protocol. For more information, see the paper in the paper subdirectory.

The onion salt paper, in contrast, is copyrighted.

Building

To build onion salt, type make. This should build both the code and the paper. It also will incidentally build TweetNaCl. It does not, however, build a library. I recommend just including these C files into your project if you want to use onion salt.

However, I also recommend that you don't use onion salt unless you really understand what you are doing, and are qualified to review the code yourself.

Alternatively, if you have fac, then you can build by simply typing fac.

Running tests

You can run the test suite by running

python3 tests/harness.py

Build Status

Dependencies

~2MB
~35K SLoC