Giter Club home page Giter Club logo

Comments (5)

tst2005 avatar tst2005 commented on August 28, 2024

The salsa20 code is not my work. I just found it. It is the code and repository for mrogaski.

I also found some lockbox-like project :

I dreams of an universal unified crypto lib...

from lua-lockbox.

greatwolf avatar greatwolf commented on August 28, 2024

kewl, yea I came across those 2 libraries too. plc looks quite promising and I like the way the code looks.

lua-hashings I also looked at, really didn't like the design of it. Two major issues with it:

  • use of metatables to emulate 64-bit bit operations and manipulation
  • uses strings to remove input already processed.

The first one means on every single bitwise operation, it is going to trigger a meta event. The second one means a lot of string copying around after every hash round iteration since Lua strings are interned and immutable.

Both of these things taken together means lua-hashing's performance is quadratic-like dog slow especially as input gets larger. I am not being obtuse when I say lua-hashing is 50-100x slower than alternative lua implementations -- it's that bad. Certainly not something I would use in production.

from lua-lockbox.

somesocks avatar somesocks commented on August 28, 2024

Hi @greatwolf @tst2005, I've sent you both an invitation to become collaborators =)

I haven't forgotten about this package, I'm afraid its just been a busy few years for me. Let me know if you'd like to publish a new rocks version as well, and I'll help out there

from lua-lockbox.

greatwolf avatar greatwolf commented on August 28, 2024

Will do. Thank you 👍

from lua-lockbox.

greatwolf avatar greatwolf commented on August 28, 2024

While you're still here, can you enable travis-ci for lua-lockbox under your account? It shouldn't take more than a couple of clicks.

from lua-lockbox.

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.