"asm" : "OP_DUP OP_HASH160 7d7 OP_EQUALVERIFY OP_CHECKSIG",
"addresses" : [ "d8d" ]
hash(7d7)==d8d ?
That depends on what you mean by
hash()7d7 should already be the result of RIPEMD-160(SHA-256(public key))
To get from that hash value to the associated P2PKH address, you need to:
1. Add a version byte to the front of 7d7, resulting in 007d7
2. Calculate a checksum (the first 4 bytes of: SHA-256(SHA-256(007d7))
3. Add the 4 byte checksum to the end of the 007d7, resulting in 007d7GGGGGGGG (where GGGGGGGG is the 4 byte checksum from step 2)
4. Convert the result from a byte string into a base58 string using Base58Check encoding.
The result of that would be d8d
More information here:
https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses#How_to_create_Bitcoin_Address