parameters: (self, targetSec=0.25, maxMem=32*1024*1024)
return_statement: return (mem, nIter, salt)
docstring: WARNING!!! DO NOT CHANGE KDF PARAMS AFTER ALREADY ENCRYPTED THE WALLET
                   By changing them on an already-encrypted wallet, we are going
                   to lose the original AES256-encryption keys -- which are
                   uniquely determined by (numIter, memReqt, salt, passphrase)
  
                   Only use this method before you have encrypted your wallet,
                   in order to determine good KDF parameters based on your
                   computer's specific speed/memory capabilities.
docstring_summary: WARNING!!! DO NOT CHANGE KDF PARAMS AFTER ALREADY ENCRYPTED THE WALLET
                   By changing them on an already-encrypted wallet, we are going
                   to lose the original AES256-encryption keys -- which are
                   uniquely determined by (numIter, memReqt, salt, passphrase)
docstring_tokens: WARNING!!! DO NOT CHANGE KDF PARAMS AFTER ALREADY ENCRYPTED THE WALLET By changing them on an already - encrypted wallet we are going to lose the original AES256 - encryption keys -- which are uniquely determined by ( numIter memReqt salt passphrase )
function: def computeSystemSpecificKdfParams(self, targetSec=0.25, maxMem=32*1024*1024):
        """
        WARNING!!! DO NOT CHANGE KDF PARAMS AFTER ALREADY ENCRYPTED THE WALLET
                   By changing them on an already-encrypted wallet, we are going
                   to lose the original AES256-encryption keys -- which are
                   uniquely determined by (numIter, memReqt, salt, passphrase)
  
                   Only use this method before you have encrypted your wallet,
                   in order to determine good KDF parameters based on your
                   computer's specific speed/memory capabilities.
        """
        kdf = KdfRomix()
        kdf.computeKdfParams(targetSec, long(maxMem))
  
        mem   = kdf.getMemoryReqtBytes()
        nIter = kdf.getNumIterations()
        salt  = SecureBinaryData(kdf.getSalt().toBinStr())
        return (mem, nIter, salt)
function_tokens: def computeSystemSpecificKdfParams ( self , targetSec = 0.25 , maxMem = 32 * 1024 * 1024 ) : kdf = KdfRomix ( ) kdf . computeKdfParams ( targetSec , long ( maxMem ) ) mem = kdf . getMemoryReqtBytes ( ) nIter = kdf . getNumIterations ( ) salt = SecureBinaryData ( kdf . getSalt ( ) . toBinStr ( ) ) return ( mem , nIter , salt )