Skip to content

Instantly share code, notes, and snippets.

@daedalus
Created August 7, 2018 03:18
Show Gist options
  • Save daedalus/211fc141e5a63257aaf55f518448580a to your computer and use it in GitHub Desktop.
Save daedalus/211fc141e5a63257aaf55f518448580a to your computer and use it in GitHub Desktop.
mkcrypt.sh
#!/bin/bash
DEV=$1
cryptsetup --verbose --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 5000 --use-random luksFormat $DEV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment