Esempio n. 1
0
 /// <summary>
 /// Extract a network-independent hexadecimal private key of lengh 64 from a BitcoinSecret.
 /// /// </summary>
 /// <param name="secret"></param>
 /// <returns></returns>
 public string GetPrivateKeyFromSecret(BitcoinSecret secret)
 {
     return(BitConverter.ToString(secret.ToBytes()).Replace("-", string.Empty).Substring(0, 64).ToLower());
 }