Use of hashing in a secure boot loader