A simple class for crypting data