* Returns a string (consisting of 8 random bytes) suitable for use as an * obfuscating XOR key. */
| 225 | * obfuscating XOR key. |
| 226 | */ |
| 227 | std::vector<unsigned char> CDBWrapper::CreateObfuscateKey() const |
| 228 | { |
| 229 | std::vector<uint8_t> ret(OBFUSCATE_KEY_NUM_BYTES); |
| 230 | GetRandBytes(ret.data(), OBFUSCATE_KEY_NUM_BYTES); |
| 231 | return ret; |
| 232 | } |
| 233 | |
| 234 | bool CDBWrapper::IsEmpty() |
| 235 | { |
nothing calls this directly
no test coverage detected