pub trait Group {
type Element: Into<BoxedMontyForm>;
const G: Self::Element;
// Provided method
fn generator() -> BoxedMontyForm { ... }
}Expand description
Group used for SRP computations.
Required Associated Constants§
Required Associated Types§
Sourcetype Element: Into<BoxedMontyForm>
type Element: Into<BoxedMontyForm>
Group elements.
Provided Methods§
Sourcefn generator() -> BoxedMontyForm
fn generator() -> BoxedMontyForm
Initialize group generator as a BoxedMontyForm.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.