pub struct SharedSecret<'a>(_);
Expand description
The shared secret computed by the KEM. Returned from both the
encapsulator and decapsulator.
Available on crate feature alloc
only.
Copies the secret to the heap and makes it 'static
.
Converts this type into a shared reference of the (usually inferred) input type.
Formats the value using the given formatter. Read more
Executes the destructor for this type. Read more
Zero out this object from memory using Rust intrinsics which ensure the
zeroization operation is not “optimized away” by the compiler. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.