public ECPrivateKey CreatePrivateKey(byte[] data) { return(new ECPrivateKey(BigIntegerExt.FromBigEndianBytes(data), this)); }
public bool VerifySignature(byte[] hash, ECSignature signature) { return(VerifySignature(BigIntegerExt.FromBigEndianBytes(hash), signature)); }
public BigInteger TruncateHash(byte[] hash) { return(TruncateHash(hash, BigIntegerExt.FromBigEndianBytes(hash))); }
public ECSignature Sign(byte[] hash, BigInteger random) { var num = BigIntegerExt.FromBigEndianBytes(hash); return(Sign(num, random)); }