pub trait ModExpAlgorithm: 'static {
// Required method
fn modexp(base: &[u8], exp: &[u8], modulus: &[u8]) -> Vec<u8> ⓘ;
}
Expand description
Trait providing the interface for the modexp function.
The implementation provided by this crate is AuroraModExp
below,
but other users of Aurora Engine may wish to select a different implementation.
Required Methods§
Object Safety§
This trait is not object safe.