mirror of
https://github.com/logos-storage/rust-poseidon-bn254-pure.git
synced 2026-04-01 03:33:10 +00:00
renamed the package
This commit is contained in:
parent
9abeac984f
commit
2d8f9163cd
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "rust-poseidon1"
|
||||
version = "0.0.0"
|
||||
name = "rust-poseidon-bn254-pure"
|
||||
version = "0.0.1"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["Balazs Komuves"]
|
||||
|
||||
11
README.md
11
README.md
@ -1,10 +1,11 @@
|
||||
rust-poseidon-bn254-rv32im
|
||||
--------------------------
|
||||
rust-poseidon-bn254-pure
|
||||
------------------------
|
||||
|
||||
Self-contained, pure Rust implementation of Poseidon and Poseidon2 hash functions
|
||||
over the BN254 curve's scalar field, using 32 bit limbs internally.
|
||||
Self-contained (no external dependencies), pure Rust implementation of Poseidon
|
||||
and Poseidon2 hash functions over the BN254 curve's scalar field, using 32 bit
|
||||
limbs internally.
|
||||
|
||||
It's intended to be used on 32-bit platforms eg. 32-bit RISC-V
|
||||
It's intended to be used on 32-bit platforms, eg. 32-bit RISC-V (rv32im)
|
||||
(though porting to 64 bits shouldn't be a big effort).
|
||||
|
||||
The algebra implementation is based on [`zikkurat-algebra`](https://github.com/faulhornlabs/zikkurat-algebra/)
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
|
||||
-- some basic "sanity check"-type testing
|
||||
|
||||
{-# LANGUAGE PackageImports #-}
|
||||
|
||||
import Data.List
|
||||
@ -1,11 +1,10 @@
|
||||
|
||||
use rust_poseidon1::bn254::bigint::*;
|
||||
use rust_poseidon1::bn254::constant::*;
|
||||
use rust_poseidon1::bn254::montgomery::*;
|
||||
use rust_poseidon1::bn254::field::*;
|
||||
use rust_poseidon_bn254_pure::bn254::bigint::*;
|
||||
use rust_poseidon_bn254_pure::bn254::constant::*;
|
||||
use rust_poseidon_bn254_pure::bn254::montgomery::*;
|
||||
use rust_poseidon_bn254_pure::bn254::field::*;
|
||||
|
||||
//use rust_poseidon1::poseidon2::constants::*;
|
||||
use rust_poseidon1::poseidon2::permutation::*;
|
||||
use rust_poseidon_bn254_pure::poseidon2::permutation::*;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user