8000 GitHub - cbanta/luaxxtea: xxtea encryption for lua
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cbanta/luaxxtea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is libray of http://en.wikipedia.org/wiki/XXTEA for lua for very simple encryption.

Compile in gcc with

gcc --shared -fPIC -O2 -o xxtea.so xxtea.c

Use in lua

require'xxtea'
str = 'something'
key = 'abcd1234abcd1234'
encstr = xxtea.encrypt( str, key )
decstr = xxtea.decrypt( encstr, key )


where the key is a 128 bit hex string

About

xxtea encryption for lua

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0