Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 268 Bytes

README.md

File metadata and controls

10 lines (10 loc) · 268 Bytes

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)

Licence

MIT OR Apache-2.0