Replace blake2b by sha512 (as it is not yet available on alpine
This commit is contained in:
parent
78e94d4766
commit
6df70342af
4 changed files with 7 additions and 12 deletions
|
@ -61,7 +61,7 @@ N2=$((25 + $RANDOM % 50))
|
|||
{
|
||||
echo -n $N1
|
||||
echo -n $N2
|
||||
echo ${USER_PKEY:$N1:$N2} | b2sum | cut -d " " -f 1
|
||||
echo -n ${USER_PKEY:$N1:$N2} | sha512sum | cut -d " " -f 1
|
||||
|
||||
} > /mnt/token4
|
||||
sync
|
||||
|
|
Reference in a new issue