using RC4

78 views
Skip to first unread message

Lloyd

unread,
Nov 16, 2010, 6:59:22 AM11/16/10
to Crypto++ Users
Hi,

I am new to cryptopp. I want to try the ARC4 algorithm available in
cryptopp. I could not find a good documentation on using it either on
website or in the download. Can anybody give me some hints on how to
use ARC4?

If that is not possible, I woould be glad if I get some pointers to
some other stream cipher algorithms...

Thanks,
Lloyd

Jeffrey Walton

unread,
Nov 29, 2010, 11:08:21 AM11/29/10
to Crypto++ Users

On Nov 16, 6:59 am, Lloyd <lloy...@gmail.com> wrote:
> Hi,
>
> I am new to cryptopp. I want to try the ARC4 algorithm available in
> cryptopp. I could not find a good documentation on using it either on
> website or in the download. Can anybody give me some hints on how to
> use ARC4?
ARC4 is weak and should probably not be used for new systems. With
htat said, Wei shows us how to use ARC4 in test.cpp via ValidateARC4()
and the FAQ at http://www.cryptopp.com/wiki/Faq.

> If that is not possible, I would be glad if I get some pointers to
> some other stream cipher algorithms...
The safest way to a stream cipher is usually a block cipher operated
in a stream mode, for example, AES in CFB mode or CTR mode. See for
example, Katz and Lindell's Introduction to Modern Cryptography.

Jeff

smu johnson

unread,
Nov 29, 2010, 5:06:03 PM11/29/10
to Crypto++ Users
RC4 is a crappy cipher, but if you are asking how to get it working because you are writing something that requires it... then no problems there.

Just writing in case you were unaware.  Best of luck.


--
You received this message because you are subscribed to the "Crypto++ Users" Google Group.
To unsubscribe, send an email to cryptopp-user...@googlegroups.com.
More information about Crypto++ and this group is available at http://www.cryptopp.com.



--
smu johnson <smujo...@gmail.com>

badcathome

unread,
Dec 18, 2010, 3:42:12 PM12/18/10
to cryptop...@googlegroups.com

Hello,

I have an example of Salsa20 for you. Salsa20 is way secured than RC4......

http://old.nabble.com/file/p30489731/Salsa20_binary.cpp Salsa20_binary.cpp

Sorry about the messy code......

I'll look for ARC4 shortly. If I can figure out how to use it I'll let you
know for sure.

Cheers!

> --
> You received this message because you are subscribed to the "Crypto++
> Users" Google Group.
> To unsubscribe, send an email to
> cryptopp-user...@googlegroups.com.
> More information about Crypto++ and this group is available at
> http://www.cryptopp.com.
>
>

--
View this message in context: http://old.nabble.com/using-RC4-tp30228117p30489731.html
Sent from the Crypto++ Users mailing list archive at Nabble.com.

Reply all
Reply to author
Forward
0 new messages