lua-users home
lua-l archive

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


> I've found what I was looking for:
> 
> http://luaforge.net/frs/?group_id=394&release_id=1120
> 
> it's "very" slow because it's in pure Lua, but it's exactly what I was
> searching.
> Maybe some C-backed implementation would be better..

You can combine my lmd5 (which also supports SHA1) with my lbc, which does
arbitrary precision arithmetic, including modular exponentiation. See 
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmd5
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbc