Skip to main content

encrypt_send_for_rotation

Function encrypt_send_for_rotation 

Source
fn encrypt_send_for_rotation(
    key_store: &KeyStore<KeySlotIds>,
    send_view: SendView,
    new_key: B64,
) -> Result<Send, SendEncryptError>
Expand description

Re-wraps a send’s per-item key under new_key; the send’s content stays under its own unchanged key.