calling this an update is an insult

k
This commit is contained in:
Malloc of Kuzkycyziklistan 2017-09-11 00:44:46 -05:00
parent 331c050540
commit 4b1adda2a6
2 changed files with 0 additions and 2 deletions

View file

@ -18,7 +18,6 @@ namespace SockScape.Encryption {
private readonly byte[] IV;
public BlockCipher(BigInteger key) {
Key = Key.Select(x => (byte)0).ToArray();
Array.Copy(key.ToByteArray(), Key, Key.Length);
IV = Configuration.General["Master IV"].Str.HexStringToBytes()

View file

@ -14,7 +14,6 @@ namespace SockScape.Encryption {
public StreamCipher(BigInteger key) {
int i = 0, j = 0;
State = State.Select(x => (byte)i++).ToArray();
Key = Key.Select(x => (byte)0).ToArray();
Array.Copy(key.ToByteArray(), Key, Key.Length);
for(i = 0; i < State.Length; ++i) {