Home
last modified time | relevance | path

Searched refs:hash_160 (Results 1 – 17 of 17) sorted by relevance

/dports/finance/electrum/Electrum-4.1.5/electrum/
H A Dbitcoin.py36 from .crypto import sha256d, sha256, hash_160, hmac_oneshot
398 return hash160_to_p2pkh(hash_160(public_key), net=net)
408 return hash_to_segwit_addr(hash_160(public_key), witver=0, net=net)
415 pkh = hash_160(bfh(pubkey))
430 return hash160_to_p2sh(hash_160(bfh(scriptSig)), net=net)
440 return hash160_to_p2sh(hash_160(bfh(scriptcode)), net=net)
447 return hash160_to_p2sh(hash_160(bfh(redeem_script)), net=net)
H A Dbip32.py11 from .crypto import hash_160, hmac_oneshot
240 fingerprint = hash_160(parent_pubkey)[0:4]
263 fingerprint = hash_160(parent_pubkey)[0:4]
277 return hash_160(self.eckey.get_public_key_bytes(compressed=True))[0:4]
H A Dsubmarine_swaps.py10 from .crypto import sha256, hash_160
289 if hash_160(preimage) != parsed_script[1][1]:
383 if hash_160(preimage) != parsed_script[5][1]:
H A Dkeystore.py42 SUPPORTED_PW_HASH_VERSIONS, UnsupportedPasswordHashVersion, hash_160)
750 xfp = hash_160(master_public_key.get_public_key_bytes(compressed=True))[0:4]
H A Dcrypto.py309 def hash_160(x: bytes) -> bytes: function
H A Dtransaction.py46 from .bitcoin import (TYPE_ADDRESS, TYPE_SCRIPT, hash_160,
755 pkh = bh2u(hash_160(bfh(pubkey)))
1242 addr = hash160_to_p2sh(hash_160(self.redeem_script))
1475 if self.address != bitcoin.hash160_to_p2sh(hash_160(self.redeem_script)):
H A Dlnutil.py513 bitcoin.hash_160(revocation_pubkey),
549 bitcoin.hash_160(revocation_pubkey),
H A Dcommands.py46 from .bitcoin import is_address, hash_160, COIN
449 address = bitcoin.hash160_to_p2sh(hash_160(bfh(redeem_script)))
/dports/finance/py-python-obelisk/python-obelisk-0.1.3/obelisk/
H A Dbitcoin.py120 def hash_160(public_key): function
132 h160 = hash_160(public_key)
754 "address": hash_160_to_bc_address(hash_160(s.decode('hex')), 5),
808 addrtype, hash_160 = bc_address_to_hash_160(addr)
813 script += hash_160.encode('hex')
819 script += hash_160.encode('hex')
1061 return hash_160(self.mpk_compressed)
1128 return hash_160(self.public_key)
1136 addrtype, hash_160 = bc_address_to_hash_160(address)
1140 script += hash_160
H A Ddeserialize.py5 from bitcoin import public_key_to_bc_address, hash_160_to_bc_address, hash_encode, hash_160
429 hash_160_to_bc_address(hash_160(redeemScript), 5))
444 hash_160_to_bc_address(hash_160(redeemScript), 5))
/dports/security/zeronet/ZeroNet-0.7.1/src/lib/pyelliptic/
H A Darithmetic.py123 def hash_160(string): function
144 return bin_to_b58check(hash_160(changebase(pubkey, 16, 256)))
/dports/security/py-pyelliptic/pyelliptic-2.0.1/pyelliptic/
H A Darithmetic.py123 def hash_160(string):
144 return bin_to_b58check(hash_160(changebase(pubkey, 16, 256)))
/dports/security/py-keepkey/python-keepkey-7.2.1/keepkeylib/
H A Dtools.py25 def hash_160(public_key): function
52 h160 = hash_160(public_key)
H A Dckd_public.py50 return string_to_number(tools.hash_160(pubkey)[:4])
/dports/security/py-trezor/trezor-0.13.0/src/trezorlib/
H A Dtools.py76 def hash_160(public_key: bytes) -> bytes: function
101 h160 = hash_160(public_key)
/dports/finance/electrum/Electrum-4.1.5/electrum/plugins/ledger/
H A Dledger.py9 from electrum.crypto import hash_160
131 fingerprint_bytes = hash_160(publicKey)[0:4]
/dports/security/john/john-1.9.0-jumbo-1/run/
H A Dbitcoin2john.py84 def hash_160(public_key): function
90 h160 = hash_160(public_key)