simple crypt lib