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

Initializes a push stream into state using key and returns a stream header. The stream header can be used to initialize a pull stream using the same key (i.e., using crypto_secretstream_xchacha20poly1305_init_pull).

Compatible with libsodium’s crypto_secretstream_xchacha20poly1305_init_push.