Change generate to be cryptographically secure
/dev/urandom, BCryptGenRandom
This commit is contained in:
@@ -34,6 +34,6 @@ void add_logininfo_to_buffer(Buffer &buffer, const char *label, const char *user
|
||||
|
||||
LoginInfoPointer get_logininfo_pointer_from_buffer(Buffer &buffer, int index_of_pass);
|
||||
|
||||
void generate_password(std::string &password, int len);
|
||||
bool generate_password(std::string &password, int len);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user