Advertisement
TheDurtch

Generate Very Secure and Random BTSync Secret

Jul 19th, 2013
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.36 KB | None | 0 0
  1. #!/bin/bash
  2. cat /dev/random | dd if=/dev/stdin bs=1 count=128 iflag=fullblock 2>/dev/null | base64 -i |  sed -e ':a;N;$!ba;s/\n//g' -e 's/[^a-zA-Z0-9]//g'
  3. # Thanks to ultramancool for helping me silence dd .
  4. # Thanks to LazyWolf for letting use part of his script.
  5. # http://forum.bittorrent.com/topic/21802-generate-very-secure-and-random-btsync-secrete-in-linux/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement