fmtseq: drop heads of rc4 keystreams
This commit is contained in:
parent
542d2f5e32
commit
07b4ee1953
|
@ -35,6 +35,7 @@ void prepare_keygen (arcfour<byte>& kg, const std::vector<byte>&SK, uint idx)
|
|||
}
|
||||
tmp.resize (16, 0); //prevent chaining to other numbers
|
||||
kg.load_key (tmp);
|
||||
kg.discard (256);
|
||||
}
|
||||
|
||||
static void add_zero_checksum (bvector& v)
|
||||
|
|
Loading…
Reference in a new issue