seed full data block

This commit is contained in:
GroovieGermanikus 2024-06-13 16:09:09 +02:00
parent 977471ca4f
commit 5cd89a7bb9
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 1 additions and 2 deletions

View File

@ -186,8 +186,7 @@ async fn helloworld_traffic(grpc_channel: UnboundedSender<Message>) {
}
fn fill_with_xor_prng(binary: &mut [u8]) {
// seed only first have of the binary; the sond half will be all 111
let seed_n = binary.len() / 2;
let seed_n = binary.len();
let mut state: u32 = 0xdeadbeef;
for i_word in 0..seed_n / 4 {
let mut x = state;