ring-algorithm

Crates.ioring-algorithm
lib.rsring-algorithm
version0.7.0
sourcesrc
created_at2020-03-14 16:02:32.733501
updated_at2023-03-12 17:25:35.269135
descriptionalgorithms on ring (Abstruct Algebra)
homepagehttps://crates.io/crates/ring-algorithm
repositoryhttps://gitlab.com/Toru3/ring-algorithm
max_upload_size
id218588
size43,998
(Toru3)

documentation

https://docs.rs/ring-algorithm/

README

Ring Algorithm

Algorithms on ring.

  • GCD (Greatest Common Divisor)
  • coprime test
  • EEA (Extended Euclidean Algorithm)
  • solve $ax\equiv 1 \pmod{m}$ (inverse)
  • solve $ax\equiv b \pmod{m}$ (division)
  • CRT (Chinese Remainder Theorem)
  • power in modulo $a^p \pmod{m}$

Licence

AGPL-3.0-or-later

Commit count: 88

cargo fmt