Last active
November 10, 2021 01:51
-
-
Save espio999/f0560e224550a591862dea125b76c079 to your computer and use it in GitHub Desktop.
/dev/random with PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$size = 128 - 1 | |
[byte[]] $data = 0..$size | %{Get-Random -Maximum $size} | |
Set-Content -Value $data -Encoding byte my_binary.dat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment