Giter Club home page Giter Club logo

Comments (5)

MHumm avatar MHumm commented on August 15, 2024 1

Has any work about that already started?

from delphiencryptioncompendium.

MHumm avatar MHumm commented on August 15, 2024

If somebody helps implementing this, things will get worked out quicker.

...my next planned hash target would have been SHA3. But that can take time as I got stuck
a bit on adapting an existing Pascal version I have.

Another thing regarding Argon2: it is internally based on blake2 and that one is based
on ChaCha internally. So it might be good to get those implemented first...

from delphiencryptioncompendium.

RDP1974 avatar RDP1974 commented on August 15, 2024

https://github.com/JackTrapper/argon2-for-delphi
maybe this can be ok, I will check the quality of the code

from delphiencryptioncompendium.

jaclas avatar jaclas commented on August 15, 2024

https://github.com/JackTrapper/argon2-for-delphi
maybe this can be ok, I will check the quality of the code

Warning: This implementation is incomplete. There are items in the Argon2 specification that are undocumented.

from delphiencryptioncompendium.

MHumm avatar MHumm commented on August 15, 2024

I would welcome contributions if they fit and the quality is ok.
Some points to note:

  1. Such new classes (Aragon2 has several variants and they inherit from a common base as the code referenced shows) should inherit from the otherwise still unused TPasswordHash class.
  2. Everything which is of more common nature (means: doesn't strictly belong to Aragon2) should go in that parent class if possible so other classes can benefit from this
  3. The Base64 stuff contained in there should be replaced with the Base64 implementation from DECFormats if possible
  4. Unit tests should be submitted as well. At least 2-3 test vectors per algorithm.
  5. I wouldn't mind if for the start only those variants which look ok in the referenced code are contributed
  6. It might be good to contribute stuff stepwise so I don't get lost when reviewing and integrating this. Bear in mind that my Git knowledge is still rough...
  7. Code should be properly XMLDOC commented and those long comments in the referenced code should be looked at. Some might be candidates for removal and many others are candidates for formatting them more compact.
  8. Code must of course be adapted in such a way that it meets the general current interface of DEC. We might need to talk about how to specify these additional parameters the algorithm has, but in doubt for a first start make constants out of them until we got everything working again and then we decide how to do it or suggest a way.

So if you try to follow these points fire up your IDE and start to adapt that referenced code! I'd be happy if we can get it into some fitting form...

from delphiencryptioncompendium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.