Stream encryption & decryption with libsodium and protobuf