static void Main() { PasswordEncrypt PasswordEncryptObject = new PasswordEncrypt(); Program program = new Program(); //This is a bit dodgy? Console.WriteLine("Enter password to be encrypted:"); string plaintext = Console.ReadLine(); string encoded = PasswordEncryptObject.SetPassword(plaintext); Console.WriteLine($"Encrypted output is:{encoded}"); program.ConsoleContinue(); Console.ReadKey(); string plaintext2 = PasswordEncryptObject.GetClearTextPassword(encoded); Console.WriteLine($"Decrypted. Plaintext is:{plaintext2}"); program.ConsoleContinue(); Console.ReadKey(); Console.WriteLine("Select hash type. '2' for version 2 or '3' for version 3"); UInt32 option = program.GetOption(); string hash = program.Hash(plaintext2, option); Console.WriteLine($"Hashed output is: {hash}"); Console.WriteLine("Press any key to exit"); Console.ReadKey(); }