this is a /simple/ algorithm written in C++ with an encrypt function and a decrypt funtion. algorithm inspired by Digital Fortress book by Dan Brown