lights FAQ Forum github.com/luapower/md4
md4

Unsupported
syscall
bnet
lfs
lanes
mmap WIP
stdio WIP
vararg
nanojpeg
blur WIP
openvg WIP
hpdf
svg_parser WIP
ffi_reflect
struct
pmurhash
murmurhash3
md4
crc32
oo
ringbuffer
dlist
obj_parser
glut
fbclient WIP
portaudio
libssh2 WIP
minizip
terra
llvm
utf8 WIP
ucdn
libunibreak
harfbuzz
fribidi
chipmunk
libvlc WIP
libvorbis WIP
libpng WIP

md4

MD4 hashing


local md4 = require'md4'

A ffi binding of the popular MD4 implementation by Alexander Peslyak.

md4.sum(s[, size]) -> s
md4.sum(cdata, size) -> s
Compute the MD4 sum of a string or a cdata buffer. Returns the binary representation of the hash. To get the hex representation, use glue.tohex().
md4.digest() -> digest
digest(s[, size])
digest(cdata, size)
digest() -> s
Get a MD4 digest function that can consume multiple data chunks until called with no arguments when it returns the final binary MD4 hash.

Last updated: 23 months ago | Edit on GitHub

Pkg type:Lua+ffi
Version: 70fc03c
Last commit:
License: PD
Import ver: 1.0
Requires: luajit 
Required by: none

Top