Comments (5)
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 :
- https://github.com/philanc/plc (for lua5.3+ only)
- https://github.com/user-none/lua-hashings (lot of hash, only hash)
I dreams of an universal unified crypto lib...
from lua-lockbox.
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.
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.
Will do. Thank you 👍
from lua-lockbox.
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)
- Implement IGE mode for AES HOT 2
- pbkdf is secure ? HOT 1
- RSA public key cryptography HOT 3
- Adding SHA3 Keccak HOT 1
- pkcs7 padding problem HOT 5
- support salsa20 ? HOT 1
- Setting up travis build status in readme HOT 1
- how to unpadding when i use ZeroPadding in AES128Cipher HOT 1
- Addon release for a game HOT 2
- GCM support
- Support for Lua 5.1 HOT 7
- why require("lockbox").insecure() HOT 3
- Replacing existing library/modules with lockbox HOT 1
- Request to become collaborator HOT 3
- Use busted lua framework for functional tests HOT 1
- Lockbox to replace existing aes_cbc:encrypt(payload) & aes_cbc:decrypt(payload) HOT 8
- no bitwise support found HOT 3
- aes-ecb-128 HOT 1
- Function table.maxn has been removed in Lua 5.3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lua-lockbox.