Electronic device for security boot up and method for computation hash vale and boot-up operation thereof

An electronic device for security boot up and a method for computation hash vale and boot-up operation thereof are provided to decrease a production cost and a chip size by reducing hash code stored in the E-fuse memory. A flash memory(120) stores the boot code and public key. A processor(111) enforces the boot code. An E-fuse memory(113) stores the first hash value. A block encrypting unit(115) calculates the second Hash value of the public key with the block cryptographic algorithm. The block cryptographic algorithm uses a part of the public key as the first input value. The first hash value stored in the second memory is the value hashing the public key with the block cryptographic algorithm. The boot code comprises command codes. The command code determines whether a processor calculates the Hash value of the public key stored in the nonvolatile memory, reads the Hash value stored in E-fuse memory, and compares the calculated Hash value with the Hash value read from the E-fuse memory. When the calculated Hash value matches with the Hash value read from the E-fuse, the command code enforces the processor to execute a boot code.