From d04c8efba1099d11b9eb9964a18ad8d3f4d7aed6 Mon Sep 17 00:00:00 2001 From: Rigo Date: Tue, 31 May 2022 09:04:59 +0200 Subject: [PATCH] "../src/functions.sh" vor erste ... add Open3A password length function for MySQL-DB --- src/functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/functions.sh b/src/functions.sh index fa37998..e08e32e 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -5,4 +5,9 @@ random_password() { set +o pipefail C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c32 +} + +random_password_open3a() { + set +o pipefail + C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom | head -c20 } \ No newline at end of file