And has anyone looked into Spritz algorithm ?
@Alain S And has anyone looked into Spritz algorithm ?
If I look Spritz up on Schneier's site it states:
"Spritz is Rivest and Schuldt's redesign of RC4. It retains all of the problems that RC4 had. It's built on a 256-element array of bytes, making it less than ideal for modern 32-bit and 64-bit CPUs. It's not very fast. (It's 50% slower than RC4, which was already much slower than algorithms like AES and Threefish.) It has a long key setup. But it's a very clever design."
50% slower than RC4... Mmmm.
I could offer a plugin if interested.
I could add preemptive thread support so encryption can run on another core.
Which could lead into processing 4 times the speed if you split data into chunks or encrypt several files in parallel.
PS: Plugin free the SQLite encryption could be a good alternative.
Alexis, I did a test using TextField and learned something today.
Used TextField1 to input something to encrypt to TextField2, then tried to decrypt TextField2 into TextField3. The thing is that reading the Notes about .Text it say: "Please note that the implementation of the TextField and TextArea controls is platform dependent. Do not expect that the text you assign is the same as the text you receive from this property. For example on Mac your text is converted to UTF-8 internally. On Windows all text after a null character (which means chr(0) and not "0") is ignored. End of line characters can change to their platform specific counterpart. Special characters with Asc values below 32 may be ignored or removed."
So when I assign what rc4 returns to TextField2 it is converted and it is not the same.
Then I used a string property, use TextField1 to encrypt something, assign to property, TextField2.Text = property, then decrypt property to TextField3.Text and it works.