diff --git a/utils/kem-extract.sh b/utils/kem-extract.sh index cf87c57..c10cca4 100755 --- a/utils/kem-extract.sh +++ b/utils/kem-extract.sh @@ -21,7 +21,7 @@ fi # The key is the supplied password as raw bytes padded with zero bytes. # The key is also used as the iv. key=$(echo -n "$password" | xxd -p) -key=$(printf "%-32s" 4f5638333030 | tr ' ' '0') +key=$(printf "%-32s" "$key" | tr ' ' '0') xml=$(cat "$file")