Re: xtea vc++ code
- From: louloizides@xxxxxxxxx
- Date: 29 Aug 2006 16:17:16 -0700
Thanks for all the good info. As far as keeping the key secret with
javascript, I'm thinking that the key will be based on a password.
Maybe I'll combine that with some other key that'll be randomly
generated during each session. Keep in mind that this is just to send
one piece of data. After that the key will be destroyed and it won't be
valid anymore.
rossum wrote:
On 29 Aug 2006 06:34:13 -0700, louloizides@xxxxxxxxx wrote:
I was wondering if anyone had any good XTEA c++ code. I'm writing an
internet service in vc++ 2003. I have a webpage that needs to send an
encrypted string a ton of times and I think XTEA would be the least
processor intensive. Plus, it's simple and I don't know much about
cryptography. I'm looking to have recieve a couple of CString or
Variant strings for the key/text combo, but any simple code that I can
modify would be helpful. I really just need a decrypt function, too.
Thanks.
I have a ton of different javascript TEA sources for the client side
encryption, and I'm sure I can find an XTEA one out there somewhere.
Tom is right that you should probably use AES. If you really do want
the XTEA code then start with Wikipedia:
http://en.wikipedia.org/wiki/XTEA
That gives the basic code, together with a lot of links to
implementations in various languages.
The AES article
http://en.wikipedia.org/wiki/Advanced_Encryption_Standard gives links
to implementations of AES.
As to a crypto library, try http://libtomcrypt.com/. You might
recognise the name of the author.
rossum
.
- Follow-Ups:
- Re: xtea vc++ code
- From: Tom St Denis
- Re: xtea vc++ code
- References:
- xtea vc++ code
- From: louloizides
- Re: xtea vc++ code
- From: rossum
- xtea vc++ code
- Prev by Date: Re: David's authenticated encryption mode.
- Next by Date: Re: xtea vc++ code
- Previous by thread: Re: xtea vc++ code
- Next by thread: Re: xtea vc++ code
- Index(es):
Relevant Pages
|
|