#endif
}
+SensitiveData& SensitiveData::operator=(SensitiveData&& rhs)
+{
+ d_data = std::move(rhs.d_data);
+ return *this;
+}
+
SensitiveData::SensitiveData(size_t bytes)
{
d_data.resize(bytes);
public:
SensitiveData(size_t bytes);
SensitiveData(std::string&& data);
+ SensitiveData& operator=(SensitiveData&&);
+
~SensitiveData();
void clear();
const std::string& getString() const
uint64_t d_parallelFactor{0};
uint64_t d_blockSize{0};
/* seed our hash so it's not predictable */
- uint32_t d_fallbackHashPerturb;
+ uint32_t d_fallbackHashPerturb{0};
uint32_t d_fallbackHash{0};
/* whether it was constructed from a hashed and salted string */
bool d_wasHashed{false};