summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake_crypt9
1 files changed, 9 insertions, 0 deletions
diff --git a/make_crypt b/make_crypt
new file mode 100755
index 0000000..6d12614
--- /dev/null
+++ b/make_crypt
@@ -0,0 +1,9 @@
+#!/bin/zsh
+
+if [ "$#" -ne 1 ]; then
+ echo "missing arg."
+ exit
+fi
+
+cryptsetup -c aes-xts-plain64 -s 256 -h sha256 -i 1000 --use-random -y luksFormat $1
+