예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RC4"/> class.
 /// </summary>
 internal RC4(string Key)
 {
     this.Key = RC4.KSA(LogicStringUtil.GetBytes(Key));
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RC4"/> class.
 /// </summary>
 internal RC4(byte[] Key)
 {
     this.Key = RC4.KSA(Key);
 }