Rabbit Cipher - Module

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
loulou2522
Enthusiast
Enthusiast
Posts: 501
Joined: Tue Oct 14, 2014 12:09 pm

Re: Rabbit Cipher - Module

Post by loulou2522 »

hI
Yes that's respond of what i want to do. Thanks
Another question
However, I wonder if the encryption key is well protected, on the other hand this key appears in clear text.
RC\SetKey( TOTO TATA TITI )
How to make sure that it does not appear in the executable otherwise the encryption is useless;
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Rabbit Cipher - Module

Post by StarBootics »

The only way in that case is to save the key in a DataSection but not as a string but as Numbers and convert it back in to string at runtime and then use it as a key. But for maximum security I recommend to create a PasswordRequester() and ask the user to enter the password and use this password as a Key for the RabbitCipher.

You can do the same for the InitVector.

Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
Post Reply