public static string PublicKey(string publicKey, string privateKey) { using (var mikcipher = new Mikcipher.Mikcipher(string.Empty)) return(mikcipher.GetPublickey(publicKey, privateKey)); }
public static string Mikcipher(string text, string publicKey) { using (var mikcipher = new Mikcipher.Mikcipher(text)) return(mikcipher.Encript(publicKey)); }
public static string Mikcipher(string text, string privateKey) { using (var mikcipher = new Mikcipher.Mikcipher(text)) return(mikcipher.Decript(privateKey)); }