A wrapper around icekey-lua that adds a few features.
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.
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.
- Streaming interface