25.12.2014 Views

Analysis and Evaluation of the Windows Event Log - Bill Buchanan

Analysis and Evaluation of the Windows Event Log - Bill Buchanan

Analysis and Evaluation of the Windows Event Log - Bill Buchanan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C:\Documents <strong>and</strong> Settings\Barrie\My ...-aes\simpletcpclient2-aes\Program.cs<br />

};<br />

6<br />

}<br />

int[] charsLeftInGroup = new int[charGroups.Length];<br />

for (int i = 0; i < charsLeftInGroup.Length; i++)<br />

charsLeftInGroup[i] = charGroups[i].Length;<br />

int[] leftGroupsOrder = new int[charGroups.Length];<br />

for (int i = 0; i < leftGroupsOrder.Length; i++)<br />

leftGroupsOrder[i] = i;<br />

byte[] r<strong>and</strong>omBytes = new byte[4];<br />

RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider();<br />

rng.GetBytes(r<strong>and</strong>omBytes);<br />

int seed = (r<strong>and</strong>omBytes[0] & 0x7f)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!