Skip to content

Commit

Permalink
Expose encryption methods
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Jan 18, 2024
1 parent ce07d17 commit edcb64e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmls/src/ciphersuite/hpke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl From<(&str, &[u8])> for EncryptContext {
}

/// Encrypt to an HPKE key with a label.
pub(crate) fn encrypt_with_label(
pub fn encrypt_with_label(
public_key: &[u8],
label: &str,
context: &[u8],
Expand Down Expand Up @@ -123,7 +123,7 @@ pub(crate) fn encrypt_with_label(
}

/// Decrypt with HPKE and label.
pub(crate) fn decrypt_with_label(
pub fn decrypt_with_label(
private_key: &[u8],
label: &str,
context: &[u8],
Expand Down

0 comments on commit edcb64e

Please sign in to comment.