[][src]Function sodalite::box_afternm

pub fn box_afternm(
    c: &mut [u8],
    m: &[u8],
    n: &[u8; 24],
    k: &[u8; 32]
) -> Result<(), ()>

Encrypt an authenticate a message m using a nonce n and a precomuted value k (from box_beforenm).

The cipher text is stored in c.