crypto-algorithms
crypto-algorithms copied to clipboard
Fixed arcfour.c initializing variables it wasn't supposed to, fixes #1
The function arcfour_generate_stream
in arcfour.c
set the i
and j
variables back to 0 at the start of every iteration of the for loop, while they're only supposed to be initialized to 0 at the start of the function and stay the same between iterations, as seen here.