Struct safe_zk_token_sdk::encryption::auth_encryption::AeCiphertext
source · pub struct AeCiphertext {
pub nonce: Nonce,
pub ciphertext: Ciphertext,
}
Expand description
Authenticated encryption nonce and ciphertext
Fields§
§nonce: Nonce
§ciphertext: Ciphertext
Implementations§
Trait Implementations§
source§impl Clone for AeCiphertext
impl Clone for AeCiphertext
source§fn clone(&self) -> AeCiphertext
fn clone(&self) -> AeCiphertext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AeCiphertext
impl Debug for AeCiphertext
source§impl Default for AeCiphertext
impl Default for AeCiphertext
source§fn default() -> AeCiphertext
fn default() -> AeCiphertext
Returns the “default value” for a type. Read more
source§impl Display for AeCiphertext
impl Display for AeCiphertext
source§impl From<AeCiphertext> for AeCiphertext
impl From<AeCiphertext> for AeCiphertext
source§fn from(ct: AeCiphertext) -> Self
fn from(ct: AeCiphertext) -> Self
Converts to this type from the input type.
source§impl TryFrom<AeCiphertext> for AeCiphertext
impl TryFrom<AeCiphertext> for AeCiphertext
§type Error = ProofError
type Error = ProofError
The type returned in the event of a conversion error.