def hash160(data):
    """Return ripemd160(sha256(data))"""
    rh = hashlib.new('ripemd160', sha256(data).digest())
    return rh.digest()
def hash160 ( data ) : rh = hashlib . new ( 'ripemd160' , sha256 ( data ) . digest ( ) ) return rh . digest ( )
Return ripemd160(sha256(data))