![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Variables | |
username = sys.argv[1] | |
cryptogen = SystemRandom() | |
list | salt_sequence = [cryptogen.randrange(256) for i in range(16)] |
hexseq = list(map(hex, salt_sequence)) | |
string | salt = "".join([x[2:] for x in hexseq]) |
password = base64.urlsafe_b64encode(os.urandom(32)) | |
digestmod = hashlib.sha256 | |
m = hmac.new(bytearray(salt, 'utf-8'), bytearray(password, 'utf-8'), digestmod) | |
result = m.hexdigest() | |
rpcuser.cryptogen = SystemRandom() |
Definition at line 20 of file rpcuser.py.
string rpcuser.digestmod = hashlib.sha256 |
Definition at line 30 of file rpcuser.py.
rpcuser.hexseq = list(map(hex, salt_sequence)) |
Definition at line 24 of file rpcuser.py.
Definition at line 36 of file rpcuser.py.
rpcuser.password = base64.urlsafe_b64encode(os.urandom(32)) |
Definition at line 28 of file rpcuser.py.
rpcuser.result = m.hexdigest() |
Definition at line 37 of file rpcuser.py.
Referenced by _createmultisig_redeemScript(), tinyformat::detail::FormatIterator.accept(), blockheaderToJSON(), blockToJSON(), CDBWrapper.CDBWrapper(), CombineMultisig(), CombineSignatures(), CommandLineRPC(), TrafficGraphData.converSampletoBandwith(), createmultisig(), decoderawtransaction(), estimatesmartfee(), estimatesmartpriority(), CScript.FindAndDelete(), CWalletDB.FindWalletTx(), BitcoinUnits.floorWithUnit(), fundrawtransaction(), CWallet.GetAccountAddresses(), getaddressbalance(), getaddressdeltas(), getaddressmempool(), getaddresstxids(), getaddressutxos(), getblockhashes(), getblocktemplate(), CWalletTx.GetConflicts(), CWallet.GetConflicts(), CHashWriter.GetHash(), CWallet.GetKeyFromPool(), PaymentRequestPlus.getMerchant(), GUIUtil.getOpenFileName(), PaymentRequestPlus.getPayTo(), CKey.GetPubKey(), CScheduler.getQueueInfo(), getrawtransaction(), GUIUtil.getSaveFileName(), Hash(), Hash160(), hatoui(), CBasicKeyStore.HaveKey(), HTTPReq_JSONRPC(), CCryptoKeyStore.IsLocked(), JSONRPCExecOne(), JSONRPCReply(), JSONRPCReplyObj(), CWalletDB.LoadWallet(), CTxMemPool.lookup(), ParseDouble(), ParseHashStr(), ParseHashV(), ParseScript(), privatesend(), PushAll(), CWalletDB.Recover(), CTxMemPool.removeConflicts(), RPCExecutor.request(), resendwallettransactions(), CWallet.ResendWalletTransactionsBefore(), CDBEnv.Salvage(), secp256k1_ecdh(), CScriptNum.serialize(), CScriptNum.set_vch(), signrawtransaction(), TrafficGraphData.sumEach2Samples(), TrafficGraphData.sumEach3Samples(), uint512.trim256(), and CDBEnv.Verify().
string rpcuser.salt = "".join([x[2:] for x in hexseq]) |
Definition at line 25 of file rpcuser.py.
Referenced by blake32_init(), and uint256.GetHash().
list rpcuser.salt_sequence = [cryptogen.randrange(256) for i in range(16)] |
Definition at line 23 of file rpcuser.py.
rpcuser.username = sys.argv[1] |
Definition at line 17 of file rpcuser.py.