Added Key Hash getting code.