rug-gmpmee

Crates.iorug-gmpmee
lib.rsrug-gmpmee
version0.1.4
created_at2024-12-28 16:41:28.139371+00
updated_at2025-05-25 10:11:02.17747+00
descriptionRust FFI bindings for GMPMEE
homepage
repositoryhttps://github.com/de-mo/rug-gmpmee
max_upload_size
id1497608
size69,541
(de-mo)

documentation

https://docs.rs/rug-gmpmee

README

GMPMEE for rug

The rug-gmpmee crate provides an implementation for rug of the GMP Modular Exponentiation Extension (GMPMEE), which is a minor extension of GMP. It adds simultaneous modular exponentiation and fixed base modular exponentiation functionality to the set of integer functions (the mpz-functions), as well as special purpose primality testing routines.

It contains the following implementations: -Mmulti-exponentation (spowm)

  • Fixed base exponentiation (fpowm). It contains a possibility to cache the precomputation table
  • Miller-Rabin primality test

Using rug-gmpmee

See the gmpmee-sys crate.

Licence

The rub-gmpmee crate is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the full text of the LICENSE for details.

Commit count: 13

cargo fmt