using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.Core.Cryptography; namespace Tango.HashGenerator { class Program { static void Main(string[] args) { while (true) { Console.Write("Enter password to hash: "); String password = Console.ReadLine(); if (password.ToLower() == "exit") return; IHashGenerator hash = new BasicHashGenerator(); Console.WriteLine(); Console.WriteLine("Hash generated: " + hash.Encrypt(password)); } } } }