Skip to main content

encrypt_keyring

Function encrypt_keyring 

Source
pub fn encrypt_keyring(
    session_key: &[u8; 32],
    plaintext: &[u8],
) -> Result<Vec<u8>, KeyringError>
Expand description

Encrypt a keyring (for keygen tooling / orchestrator). Returns the encrypted blob: [12-byte nonce][ciphertext+tag]