示例#1
0
 public static string PublicKey(string publicKey, string privateKey)
 {
     using (var mikcipher = new Mikcipher.Mikcipher(string.Empty))
         return(mikcipher.GetPublickey(publicKey, privateKey));
 }
示例#2
0
 public static string Mikcipher(string text, string publicKey)
 {
     using (var mikcipher = new Mikcipher.Mikcipher(text))
         return(mikcipher.Encript(publicKey));
 }
示例#3
0
 public static string Mikcipher(string text, string privateKey)
 {
     using (var mikcipher = new Mikcipher.Mikcipher(text))
         return(mikcipher.Decript(privateKey));
 }