base encryption done. it works!

need to update documentation though!