Sera - kinda secure encryption i guess

Started by steamport, Sep 07, 2018, 01:24 am

Previous topic - Next topic


Sep 07, 2018, 01:24 am Last Edit: Sep 07, 2018, 08:58 pm by steamport
nvm it's probably fine seriously you should use AES or ChaCha20 over this

Code Select
pastebin get ujkUULjK sera.lua
Code Select
local sera = require("/sera")
local encrypted_stuff = sera.crypt("asdafagus", "my very secure key")
local decrypted_stuff = sera.crypt(encrypted_stuff, "my very secure key")

Theoretically has same security as the BLAKE-256 hash algorithm it uses to generate keystreams:

Uses Anavrins' BLAKE-256 API (obviously)