Skip to content

Instantly share code, notes, and snippets.

@dmitry
Created January 2, 2018 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitry/d505a9b48523b545e5902e191252e12e to your computer and use it in GitHub Desktop.
Save dmitry/d505a9b48523b545e5902e191252e12e to your computer and use it in GitHub Desktop.
openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero | pv -pterb > /dev/sdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment