Fixed PublicKey:get_key_hash(), added seed to KeyPair generation