Fifth revision

Made a new class from the cryptography function.