i was trying to make grub password protected with
grub2-mkpasswd-pbkdf2 and it works with centos 7 but i can't understand something about it.
every time i use this command it gives me different hash password for one unique string like 1234.
the results are like
my question is:
how both of this hashed password work when copy them into 10_unix file and after update grub and how login process compare my plain password with hashed text in 10_unix file?
i mean it seems it's not something like md5() that result is same for one unique string every time we use it.