Crate sloth256_189
source · [−]Expand description
A Rust wrapper around both C/assembly and CUDA implementation of Sloth permutation suggested in https://eprint.iacr.org/2015/366, extended for a proof-of-replication, and instantiated for 2**256-189 modulus used in Subspace Network.
Universal CPU implementation is always available, for CUDA support via OpenCL make sure to
enable opencl
feature, have proprietary NVIDIA driver, and CUDA toolchain installed.