lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, 26 Nov 2016 14:35:23 -0500
Phil Leblanc <philanc@gmail.com> wrote:

> I have developed  luazen [1], a small library with some functions that
> I use often together:  low-grade encryption and hash (rc4, md5, sha1),
> binary encoding (base64 for wrapping encrypted data and base58 for
> keys), and lightweight compression functions (based on LZF).
> 
> [1] https://github.com/philanc/luazen
> 
> It is pretty small (the .so is less than 23 kbytes) and self-contained
> (no external dependencies).

This sounds really useful.

> I have decided to share this library, but I don't know if it is the
> right "granularity":
> 
> Would you prefer to look for and use one library including all these functions?
> 
> Or have three libraries with, say, compression, crypto and binary encoding?
> 
> Or have several tiny libraries (eg. base58, LZF, rc4, md5, etc.)?

I think this is a matter of personal preference. I think I'd like using
the single library. Breaking it up into tiny libraries would take more
work. If you prefer a single library, why don't you share this and let
anyone who wants to break it up do it themselves?

Cheers,

Tim.