You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MessageBox.Show("Failed to fill buffer with random bytes,\nthis usually only happens in very (very) rare cases.\n\nSource overloaded?","RNG Error",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
13
-
returnnull!;
12
+
if(!CharMapIsNotAllZero(charMapPtr))
13
+
{
14
+
MessageBox.Show("Failed to generate password, no characters selected!\n"+
15
+
"Select at least one character in the settings.","Generator",MessageBoxButtons.OK,MessageBoxIcon.Information);
16
+
returnnull!;
17
+
}
18
+
19
+
if(!FillBuffer(refbuffer,length,charMapPtr))
20
+
{
21
+
MessageBox.Show("Failed to fill buffer with random bytes,\n"+
22
+
"this usually only happens in very (very) rare cases.\n\n"+
0 commit comments