#console #calculate #quickly #power #pow-mod #modpow #k-n

bin+lib siiir_modular_power

A console app and library with function to quickly calculate k^n mod m

2 stable releases

1.0.7 Jun 25, 2022
1.0.6 Jun 24, 2022

#1116 in Math

GPL-3.0 license

18KB
207 lines

Documentation

Library documentation is on on crates.io.
Whole docs are in source code.

Tests

Binary app has been tested on x86_64-pc-windows-msvc.
Library has unit tests passing on x86_64-pc-windows-msvc .

Specifications

Git-related things are in public GitHub repository.
Other specifications are in Cargo.toml file.


lib.rs:

A library containing pow_mod function that is synonym to num_bigint::BigUint::modpow .

It was build as a part of modular_power project, which also contains a binary app that lanuches function on user input.

Dependencies

~790KB
~15K SLoC