cryptnoxpy.cryptos
¶
Submodules¶
Package Contents¶
Classes¶
Return a new RIPEMD160 object. An optional string argument |
|
Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return a new RIPEMD160 object. An optional string argument |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Attributes¶
- cryptnoxpy.cryptos.P¶
- cryptnoxpy.cryptos.N = 115792089237316195423570985008687907852837564279074904382605163141518161494337¶
- cryptnoxpy.cryptos.A = 0¶
- cryptnoxpy.cryptos.B = 7¶
- cryptnoxpy.cryptos.Gx = 55066263022277343669578718895168534326250603453777594175500187360389116729240¶
- cryptnoxpy.cryptos.Gy = 32670510020758816978083085130507043184471273380659243275938904335757337482424¶
- cryptnoxpy.cryptos.G¶
- cryptnoxpy.cryptos.change_curve(p, n, a, b, gx, gy)¶
- cryptnoxpy.cryptos.getG()¶
- cryptnoxpy.cryptos.inv(a, n)¶
- cryptnoxpy.cryptos.access(obj, prop)¶
- cryptnoxpy.cryptos.multiaccess(obj, prop)¶
- cryptnoxpy.cryptos.slice(obj, start=0, end=2 ** 200)¶
- cryptnoxpy.cryptos.count(obj)¶
- cryptnoxpy.cryptos._sum¶
- cryptnoxpy.cryptos.sum(obj)¶
- cryptnoxpy.cryptos.isinf(p)¶
- cryptnoxpy.cryptos.to_jacobian(p)¶
- cryptnoxpy.cryptos.jacobian_double(p)¶
- cryptnoxpy.cryptos.jacobian_add(p, q)¶
- cryptnoxpy.cryptos.fast_add(a, b)¶
- cryptnoxpy.cryptos.get_pubkey_format(pub)¶
- cryptnoxpy.cryptos.encode_pubkey(pub, formt)¶
- cryptnoxpy.cryptos.decode_pubkey(pub, formt=None)¶
- cryptnoxpy.cryptos.get_privkey_format(priv)¶
- cryptnoxpy.cryptos.encode_privkey(priv, formt, vbyte=128)¶
- cryptnoxpy.cryptos.decode_privkey(priv, formt=None)¶
- cryptnoxpy.cryptos.add_pubkeys(p1, p2)¶
- cryptnoxpy.cryptos.add_privkeys(p1, p2)¶
- cryptnoxpy.cryptos.divide(pubkey, privkey)¶
- cryptnoxpy.cryptos.compress(pubkey)¶
- cryptnoxpy.cryptos.decompress(pubkey)¶
- cryptnoxpy.cryptos.neg_pubkey(pubkey)¶
- cryptnoxpy.cryptos.neg_privkey(privkey)¶
- cryptnoxpy.cryptos.subtract_pubkeys(p1, p2)¶
- cryptnoxpy.cryptos.subtract_privkeys(p1, p2)¶
- cryptnoxpy.cryptos.bin_hash160(string)¶
- cryptnoxpy.cryptos.hash160(string)¶
- cryptnoxpy.cryptos.hex_to_hash160(s_hex)¶
- cryptnoxpy.cryptos.bin_sha256(string)¶
- cryptnoxpy.cryptos.sha256(string)¶
- cryptnoxpy.cryptos.bin_ripemd160(string)¶
- cryptnoxpy.cryptos.ripemd160(string)¶
- cryptnoxpy.cryptos.bin_dbl_sha256(s)¶
- cryptnoxpy.cryptos.dbl_sha256(string)¶
- cryptnoxpy.cryptos.bin_slowsha(string)¶
- cryptnoxpy.cryptos.slowsha(string)¶
- cryptnoxpy.cryptos.hash_to_int(x)¶
- cryptnoxpy.cryptos.num_to_var_int(x)¶
- cryptnoxpy.cryptos.electrum_sig_hash(message)¶
- cryptnoxpy.cryptos.b58check_to_bin(inp)¶
- cryptnoxpy.cryptos.get_version_byte(inp)¶
- cryptnoxpy.cryptos.hex_to_b58check(inp, magicbyte=0)¶
- cryptnoxpy.cryptos.b58check_to_hex(inp)¶
- cryptnoxpy.cryptos.pubkey_to_hash(pubkey)¶
- cryptnoxpy.cryptos.pubkey_to_hash_hex(pubkey)¶
- cryptnoxpy.cryptos.pubkey_to_address(pubkey, magicbyte=0)¶
- cryptnoxpy.cryptos.pubtoaddr¶
- cryptnoxpy.cryptos.is_privkey(priv)¶
- cryptnoxpy.cryptos.is_pubkey(pubkey)¶
- cryptnoxpy.cryptos.encode_sig(v, r, s)¶
- cryptnoxpy.cryptos.decode_sig(sig)¶
- cryptnoxpy.cryptos.deterministic_generate_k(msghash, priv)¶
- cryptnoxpy.cryptos.ecdsa_verify_addr(msg, sig, addr, coin)¶
- cryptnoxpy.cryptos.ecdsa_verify(msg, sig, pub, coin)¶
- cryptnoxpy.cryptos.add(p1, p2)¶
- cryptnoxpy.cryptos.subtract(p1, p2)¶
- cryptnoxpy.cryptos.hash160Low = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'¶
- cryptnoxpy.cryptos.hash160High = b'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff'¶
- cryptnoxpy.cryptos.magicbyte_to_prefix(magicbyte)¶
- cryptnoxpy.cryptos.string_types¶
- cryptnoxpy.cryptos.is_python2¶
- cryptnoxpy.cryptos.digest_size = 20¶
- cryptnoxpy.cryptos.digestsize = 20¶
- cryptnoxpy.cryptos.range¶
- class cryptnoxpy.cryptos.RIPEMD160(arg=None)¶
Return a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.
- update(self, arg)¶
update(arg)
- digest(self)¶
digest()
- hexdigest(self)¶
hexdigest()
- copy(self)¶
copy()
- cryptnoxpy.cryptos.new(arg=None)¶
Return a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.
- cryptnoxpy.cryptos.K0 = 0¶
- cryptnoxpy.cryptos.K1 = 1518500249¶
- cryptnoxpy.cryptos.K2 = 1859775393¶
- cryptnoxpy.cryptos.K3 = 2400959708¶
- cryptnoxpy.cryptos.K4 = 2840853838¶
- cryptnoxpy.cryptos.KK0 = 1352829926¶
- cryptnoxpy.cryptos.KK1 = 1548603684¶
- cryptnoxpy.cryptos.KK2 = 1836072691¶
- cryptnoxpy.cryptos.KK3 = 2053994217¶
- cryptnoxpy.cryptos.KK4 = 0¶
- cryptnoxpy.cryptos.ROL(n, x)¶
- cryptnoxpy.cryptos.F0(x, y, z)¶
- cryptnoxpy.cryptos.F1(x, y, z)¶
- cryptnoxpy.cryptos.F2(x, y, z)¶
- cryptnoxpy.cryptos.F3(x, y, z)¶
- cryptnoxpy.cryptos.F4(x, y, z)¶
- cryptnoxpy.cryptos.R(a, b, c, d, e, Fj, Kj, sj, rj, X)¶
- cryptnoxpy.cryptos.PADDING¶
- cryptnoxpy.cryptos.RMD160Transform(state, block)¶
- cryptnoxpy.cryptos.RMD160Update(ctx, inp, inplen)¶
- cryptnoxpy.cryptos.RMD160Final(ctx)¶
- cryptnoxpy.cryptos.string_types¶
- cryptnoxpy.cryptos.string_types¶