Ejemplo n.º 1
0
bool CHDSeed::Lock()
{

    unencryptedMnemonic = "";

    masterKeyPriv = CExtKey();
    purposeKeyPriv = CExtKey();
    cointypeKeyPriv = CExtKey();

    vMasterKey.clear();

    return true;
}
Ejemplo n.º 2
0
bool CHDSeed::Lock()
{
    // The below is a 'SecureString' - so no memory burn necessary, it should burn itself.
    unencryptedMnemonic = "";
    // The below is a 'SecureString' - so no memory burn necessary, it should burn itself.
    masterKeyPriv = CExtKey();
    purposeKeyPriv = CExtKey();
    cointypeKeyPriv = CExtKey();

    //fixme: (2.1) - Also burn the memory just to be sure?
    vMasterKey.clear();

    return true;
}