Skip to content

Conversation

@kentonv
Copy link
Member

@kentonv kentonv commented Dec 27, 2025

Corrupting a byte by setting it to 0 doesn't always work because 1/256 of the time the byte is already zero, due to the encryption key being random.

Flipping a bit using XOR should always corrupt it.

Corrupting a byte by setting it to 0 doesn't always work because 1/256 of the time the byte is already zero, due to the encryption key being random.

Flipping a bit using XOR should always corrupt it.
@kentonv kentonv requested a review from jasnell December 27, 2025 18:21
@kentonv kentonv requested review from a team as code owners December 27, 2025 18:21
@kentonv kentonv enabled auto-merge December 27, 2025 18:23
@kentonv kentonv merged commit 6475422 into main Dec 27, 2025
21 checks passed
@kentonv kentonv deleted the kenton/fix-channel-token-test-flake branch December 27, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants