Faster Encyrption / Obscuration than RC4 for Large 24MB & 15Mb Files?

  1. ‹ Older
  2. 4 years ago

    Alain S

    15 Apr 2016 Pre-Release Testers, Xojo Pro Geneva, Switzerland

    And has anyone looked into Spritz algorithm ?

  3. Alexander v

    15 Apr 2016 Europe (Houten, The Netherland...

    @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.

  4. Michel B

    15 Apr 2016 Pre-Release Testers, Xojo Pro RubberViews.com
    Edited 4 years ago

    @Alain S Has anyone ported this function to the new framework ?

    It should not be too difficult to adapt the code posted by @Michael D above. But it is mandatory only for iOS.

  5. Christian S

    15 Apr 2016 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    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.

  6. 2 years ago

    Alexis C

    7 Apr 2018 Pre-Release Testers, Xojo Pro Puerto Rico, USA
    Edited 2 years ago

    help
    I believe that RC4 is symmetric, which means that if
    cypherText = RC4(plainText,key)
    then
    plainText = RC4(cypherText,key) <<< For me no works using xojo 2015r3.1 return encrypt text no Decrypts

  7. Alberto D

    7 Apr 2018 Pre-Release Testers

    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.

  8. 4 months ago

    Novasof S

    Jun 10 Pre-Release Testers, Xojo Pro

    some body have working the rc4v6 in webapp ? i try but gime a error about invalidad character

or Sign Up to reply!