private byte[] GenerateCipherStream(byte[] key, uint fillerSize) { byte[] zeroData = new byte[fillerSize]; var cipher = ChaCha20Poly1305.ChaCha20Encrypt(zeroData, key, Nonce); return(cipher); }
private byte[] GenerateCipherStream(byte[] key, uint fillerSize) { byte[] zeroData = new byte[fillerSize]; var cipher = ChaCha20Poly1305.ChaCha20Encrypt(zeroData, key, Nonce); return(cipher); }