Javier said:
Hi HC !
1-Thanks for your advices and support really very good !!!
Glad I could help!
2- If Professional cryptographers have deprecated RC4 Algorithm as you said,
.......... which is a good encrypt alghorim (more than 40 bits) wrote it in VBA
as I asked in my first post ??
Personally I would still be happy to use RC4. It's simple to code, and
very fast. Do a google search for "arcfour vb" (without the quote
marks) and you should be able to find it.
3-As you said: "What ever cipher you use, remember that is very easy to make
fatal
mistakes which can be exploited to crack your cipher. Even if the
cipher itself is bulletproof, your /use/ of it might be easily
crackable, if you make a mistake"
Sorry can you explain a little bit more about it ??
How is possible to make a faltal mistake on porpouse in VBA ??
Say you encrypted two different messages, using the same encryption
key. If you did this using a so-called "block cipher", like DES, that
would be fine. But if you did it using a "stream cipher", like RC4,
this would open you to a devastating "known plaintext" attack.
These things can't be explained in a newsgroup post. You need to
research these terms ("block cipher", "stream cipher", "known plaintext
attack", and so on), to understand what they mean.
4-Concerning others algorithms like AES Algorithm (Rijndael) used by populars
progrmas like Winzip 9.0 or PkZip 8.0 or WinRar 3.3 and many others popular
programs looks like is becoming more a standard algorithms with a 128 bit
encryption.
AES is the new US standard. If you could find an implementation of AES
in VBA, that would be fine - as long as you implemented it properly.
Do you know where to get a VBA public code (Not in VB please) one of the
followings Algoritms ???
Adfgvx
AES
Base64
BlowFish
DES
Enigma
Gost
PLAYFAIR
RC4
SHA-1
SkipJack
TEA
XOR
RSA
Just google on the appropriate terms, eg. AES VB, or AES VBA.
(Remember: for a simple procedure or function, like RC4/ARCFOUR for
example, the VB code will be virtually identical to VBA.)
HTH,
TC