Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

salsa20

GLua implementation of Salsa20

Usage

local key = string.rep("a", 32)
local nonce = tostring(os.time()):sub(1, 8)
local plainText = string.rep("b", 512)

local cipherText = salsa20.crypt(key, nonce, plainText, 20)

local decryptedText = salsa20.crypt(key, nonce, cipherText, 20)

Full specifications can be found here.

About

GLua implementation of Salsa20

Resources

License

Releases

No releases published

Packages

No packages published

Languages