Skip to content

lunaboards-dev/igloo-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

igloo-lua

A wrapper around icekey-lua that adds a few features.

What's tacked added on?

Igloo adds CBC and ANSI X9.23 padding for data. Note that padding does not use a cryptologically secure random, as that can't be done with pure lua, though I'd imagine it'd be better than all zeros.

Methods:

  • igloo_instance = igloo.create(level:number, key:string) - Creates an Igloo instance. Key rules are the same as standard ICE.
  • string = igloo_instance:encrypt(data:string) - Encrypts data.
  • string = igloo_instance:decrypt(data:string) - Decrypts data.

TODO:

  • Streaming interface

Releases

No releases published

Packages

No packages published

Languages