More fixes in the enc/dec functions

This commit is contained in:
Lea 2025-07-07 18:21:40 +02:00
parent 1979b697f3
commit 0df4cabe4f

View file

@ -313,7 +313,7 @@ function daisy_enc_multi()
function daisy_dec()
{
data=$(cat ${1:-/dev/stdin} | grep -v "#" )
echo -e "$data" | cut -d "=" -f 2 | cut -b 2- | head -c -1 | base64 -d
echo -e "$data" | cut -d "=" -f 2- | cut -b 2- | head -c -1 | base64 -d
}
# Will only take a file and directory, sources it to find all encoded data