Codeigniter's encryption library ported to C#