crypto-algorithms icon indicating copy to clipboard operation
crypto-algorithms copied to clipboard

Fixed arcfour.c initializing variables it wasn't supposed to, fixes #1

Open SN4T14 opened this issue 9 years ago • 0 comments

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.

SN4T14 avatar Jun 14 '15 01:06 SN4T14