M_Crypto (formerly Blowfish and Bcrypt project)

  1. ‹ Older
  2. 6 months ago

    Kem T

    15 Nov 2018 Pre-Release Testers, Xojo Pro, XDC Speakers New York

    I've just released v.2.5, found here:

    https://github.com/ktekinay/M_Crypto

    This release includes SHA256Digest_MTC and SHA512Digest_MTC classes that will let you calculate those respective hashes in blocks.

  3. Kem T

    16 Nov 2018 Pre-Release Testers, Xojo Pro, XDC Speakers New York

    And now it's up to v.2.5.1 with optimizations that speed up the new digest classes by a factor of ~10x.

  4. Kem T

    16 Nov 2018 Pre-Release Testers, Xojo Pro, XDC Speakers New York

    A note about those optimizations. Anyone looking to this project as an example of how to properly code in Xojo shouldn't. In order to achieve the best speed, I've written the code in a way that would make kittens cry, getting as close to the metal as Xojo allows. I've eliminated as many function and method calls as I could by manually inlining code, avoided arrays by using MemoryBlocks, and used Ptr rather than the MemoryBlock functions wherever possible even when I had to manually flip byte order.

    On the other hand, if you want an example of how to get the best possible speed regardless of readability or maintainability, this will do.

  5. 5 months ago

    Kem T

    Dec 11 Pre-Release Testers, Xojo Pro, XDC Speakers New York

    I just released v.2.5.2 with more optimizations to the digest functions and to Bcrypt/Blowfish.

or Sign Up to reply!