5 releases

Uses old Rust 2015

0.2.0 Mar 5, 2019
0.1.5 Jun 28, 2018
0.1.4 Jun 22, 2018
0.1.3 Jun 22, 2018
0.1.2 Jun 21, 2018

#23 in #argon2

MIT/Apache

2MB
14K SLoC

VB6 5.5K SLoC Rust 3K SLoC // 0.0% comments C 2.5K SLoC // 0.2% comments Visual Studio Project 2.5K SLoC Visual Studio Solution 159 SLoC PowerShell 69 SLoC Shell 54 SLoC // 0.0% comments Pan 1 SLoC

argonautica-c

Build Status Crates.io Documentation Github.com License

Overview

argonautica-c is a C/C++ wrapper for argonautica.

Installation

  • Install Rust (version 1.26.0 or higher)
    • See here for instructions
  • Install LLVM/Clang (version 3.9 or higher)
    • Mac OS: brew install llvm, which requires Homebrew
    • Debian-based linux: apt-get install clang llvm-dev libclang-dev
    • Arch linux: pacman -S clang
    • Windows: Download a pre-built binary here
  • Clone the argonautica repository
    • git clone https://github.com/bcmyers/argonautica.git
    • cd argonautica
    • git submodule init
    • git submodule update
  • Build the library using Cargo
    • cargo build --release --features="simd", or
    • cargo build --release
  • Use the library
    • The library, which will be called libargonautica_c.dylib or something similar (depending on your OS), will be in the ./target/release directory
    • The header file, which will be called argonautica.h, will be in the ./argonautica-c/include directory

License

argonautica-c is licensed under either of:

at your option.

Dependencies

~6–18MB
~270K SLoC