Crate classgroup

Source

Re-exports§

pub use self::gmp_classgroup::do_compute;

Modules§

gmp
gmp_classgroup

Traits§

BigNum
BigNumExt
ClassGroup

Functions§

export_obj
Exports obj to v as an array of 2’s complement, big-endian bytes. If v is too small to hold the result, returns Err(s), where s is the size needed to hold the exported version of obj.
import_obj
Unmarshals a buffer to an Mpz. buf is interpreted as a 2’s complement, big-endian integer. If the buffer is empty, zero is returned.