grub2-mkpasswd-pbkdf2
Generate a hashed password for GRUB. tldr-pages
On Linux
Linux
Create a password hash for GRUB 2 using PBKDF2 and print it to stdout
sudo grub2-mkpasswd-pbkdf2 --iteration-count number_of_pbkdf2_iterations --salt salt_lengthIdentify