예제 #1
0
 public RC4(IRandGen cloneFrom)
 {
     Init(cloneFrom.NextBuffer(256));
 }
예제 #2
0
 public static byte[] NextBuffer(this IRandGen gen, int count)
 {
     byte[] buf = new byte[count];
     return(gen.NextBuffer(buf));
 }