pub trait PKEncryption<CT, PT, SK>: SKEncryption<CT, PT, SK> {
// Required method
fn encrypt(&self, pt: &PT, pk: &CT) -> CT;
}Expand description
Trait for public key encryption.
pub trait PKEncryption<CT, PT, SK>: SKEncryption<CT, PT, SK> {
// Required method
fn encrypt(&self, pt: &PT, pk: &CT) -> CT;
}Trait for public key encryption.