#mod

mod_exp

Crate for doing modular exponentiation efficiently

3 releases (stable)

Uses old Rust 2015

1.0.1 Sep 17, 2018
1.0.0 Jun 30, 2015
0.1.0 Jun 25, 2015

#1307 in Cryptography

Download history 116/week @ 2023-06-01 7/week @ 2023-06-08 161/week @ 2023-06-15 155/week @ 2023-06-22 56/week @ 2023-06-29 115/week @ 2023-07-06 68/week @ 2023-07-13 109/week @ 2023-07-20 70/week @ 2023-07-27 75/week @ 2023-08-03 96/week @ 2023-08-10 68/week @ 2023-08-17 52/week @ 2023-08-24 46/week @ 2023-08-31 121/week @ 2023-09-07 119/week @ 2023-09-14

338 downloads per month
Used in advent_of_code_rs

MIT license

4KB

Modular Exponentiation

Build Status

This is a simple crate that performs modular exponentiation


lib.rs:

Modular Exponentiation

Implementation of a modular exponentiation algorithm based on the algorithm from 'Applied Cryptography'. You can find more details in that book, or on wikipedia.

Dependencies

~475KB