Skip to content

Commit

Permalink
random_int
Browse files Browse the repository at this point in the history
  • Loading branch information
ismaileke committed Aug 13, 2024
1 parent 64cb140 commit b9bb269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/Cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ public function add(InternetAddress $address) : int{
}

private function generate(InternetAddress $address) : int{
return crc32(Binary::writeLInt(random_int(0, 0xffffffff)));
return random_int(0, 0xffffffff);
}
}

0 comments on commit b9bb269

Please sign in to comment.