pub struct GoldKey512 { /* private fields */ }Expand description
Same invariant as GoldKey256, with GoldPrfParams512.
Construct only via GoldKey512::from_uint / GoldKey512::derive_from_seed;
read the scalar with GoldKey512::as_uint.
Implementations§
Source§impl GoldKey512
impl GoldKey512
pub fn from_uint(k: U512, params: &GoldPrfParams512) -> Result<Self, PrfError>
pub fn derive_from_seed( seed: &[u8], params: &GoldPrfParams512, ) -> Result<Self, PrfError>
Trait Implementations§
Source§impl Clone for GoldKey512
impl Clone for GoldKey512
Source§fn clone(&self) -> GoldKey512
fn clone(&self) -> GoldKey512
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Drop for GoldKey512
impl Drop for GoldKey512
Auto Trait Implementations§
impl Freeze for GoldKey512
impl RefUnwindSafe for GoldKey512
impl Send for GoldKey512
impl Sync for GoldKey512
impl Unpin for GoldKey512
impl UnsafeUnpin for GoldKey512
impl UnwindSafe for GoldKey512
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more