https://github.com/jochasinga/ff
Finite field library in Rust
https://github.com/jochasinga/ff
Last synced: about 1 year ago
JSON representation
Finite field library in Rust
- Host: GitHub
- URL: https://github.com/jochasinga/ff
- Owner: jochasinga
- License: mit
- Created: 2022-07-30T15:37:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-30T23:14:54.000Z (almost 4 years ago)
- Last Synced: 2024-10-18T15:19:24.349Z (over 1 year ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ff
Finite field library in Rust.
## Usage
```rust
let prime = 13;
let e1 = FieldElement(3, prime);
let e2 = FieldElement(1, prime);
let result = e1 + e2; // FieldElement_4(13)
```