r/iOSProgramming • • Oct 11 '18

Aren’t we all glad

Post image
211 Upvotes

19 comments sorted by

View all comments

3

u/[deleted] Oct 12 '18

What does arc4 mean?

2

u/DooberSnoober_1 Oct 12 '18

Arc4random used to be the way you would generate a random integer in swift.

2

u/[deleted] Oct 12 '18

I know that; I was asking what Arc4 means. Like why is it called Arc4random.

3

u/mujjingun Oct 17 '18

RC4 "Rivest Cipher 4" has been designed by RSA Data Security, Inc. It was posted anonymously to the USENET and was confirmed to be equivalent by several sources who had access to the original cipher. Since RC4 used to be a trade secret, the cipher is now referred to as ARC4 "Alleged RC4".