Exemplo n.º 1
0
 private string CreatePublicKey(string privateKey, CipherStrModel cipherStrModel)
 {
     privateKey = cipherStrModel.Encode(privateKey);
     return(cipherStrModel.GetCode() + "-" + privateKey);
 }
Exemplo n.º 2
0
 private string CreatePrivateKey(CipherStrModel s1, CipherStrModel s2, CipherStrIntModel s3) => string.Format("{0}-{1}-{2}", s1.GetCode(), s2.GetCode(), s3.GetCode());