Function dryoc::classic::crypto_secretstream_xchacha20poly1305::crypto_secretstream_xchacha20poly1305_init_pull[][src]

pub fn crypto_secretstream_xchacha20poly1305_init_pull(
    state: &mut State,
    header: &Header,
    key: &Key
)
Expand description

Initializes a pull stream from header into state using key and returns a stream header. The stream header can be generated using crypto_secretstream_xchacha20poly1305_init_push.

Compatible with libsodium’s crypto_secretstream_xchacha20poly1305_init_pull.