Re: Microsoft.VisualBasic.Strings.Asc ?
- From: rossum <rossum48@xxxxxxxxxxxx>
- Date: Fri, 02 Jan 2009 21:04:16 +0000
On Fri, 2 Jan 2009 12:41:03 -0500, "James" <noone@xxxxxxxxxxx> wrote:
"rossum" <rossum48@xxxxxxxxxxxx> wrote in messageIf you are using RC4 for backwards compatibility reasons then you need
news:ecall4drok5mpblatt57635uj9fcdse0lq@xxxxxxxxxx
On Tue, 30 Dec 2008 15:53:07 -0500, "James" <noone@xxxxxxxxxxx> wrote:thanks for the input and the link. This little tool I'm trying to make is
I'm trying to put together a simple utility to do rc4 encryption based onRC4 is an old algorithm and is now obsolescent. It is fine for a
the rc4 algorithm
learning exercise, being very easy to program, or for mild security.
You should not use it in a new application.
For a secure alternative use AES in counter (CTR) mode or one of the
eSTREAM stream cyphers from http://www.ecrypt.eu.org/stream/
The Wikipedia article (http://en.wikipedia.org/wiki/RC4) covers the
weaknesses of RC4 well.
rossum
for a system that already exists and already uses RC4... otherwise I would
definitely be using something stronger. Changing the original system may
actually be an option but there are 2 issues with that: 1, the encrypting
needs to take place from a wsh/vbscript which as I understand it is not a
good language for writing cipher code, and 2, I'm not at all experienced
with writing cipher code at this point and I would have to do it... and
really, mild security is all my particular situation calls for.
thanks agian. I appreciate the input.
to be very careful with the key schedule and nonce you use. If you
ever reuse the same key/nonce combination then you have lost all
security for those messages.
As the Wikipedia article implies, you should not just concatenate the
key and nonce. You should concatenate and hash, using a cryptographic
hash such as SHA-256, (C# has SHA256Managed as part of
System.Security.Cryptography), and use the SHA-256 output as the
actual key for RC4.
rossum
.
- References:
- Re: Microsoft.VisualBasic.Strings.Asc ?
- From: James
- Re: Microsoft.VisualBasic.Strings.Asc ?
- Prev by Date: Debugging ResolveManifestFiles problem
- Next by Date: Re: design oriented forums
- Previous by thread: Re: Microsoft.VisualBasic.Strings.Asc ?
- Next by thread: Re: Microsoft.VisualBasic.Strings.Asc ?
- Index(es):
Relevant Pages
|