Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.crypto.ecdsa
  • Platforms: .NET, .NET Standard 2.0, Island

Methods


GenerateKey

 

// .NET, .NET Standard 2.0
class method GenerateKey(c: Curve; rand: Reader): tuple of (Memory<PrivateKey>, error)
// Island
class method GenerateKey(c: Curve; rand: Reader): tuple of (Memory<PrivateKey>, error)

 

// .NET, .NET Standard 2.0
static (Memory<PrivateKey>, error) GenerateKey(Curve c, Reader rand)
// Island
static (Memory<PrivateKey>, error) GenerateKey(Curve c, Reader rand)

 

// .NET, .NET Standard 2.0
static func GenerateKey(_ c: Curve, _ rand: Reader) -> (Memory<PrivateKey>, error)
// Island
static func GenerateKey(_ c: Curve, _ rand: Reader) -> (Memory<PrivateKey>, error)

 

// .NET, .NET Standard 2.0
func GenerateKey(c Curve, rand Reader) tuple of (Memory<PrivateKey>, error)
// Island
func GenerateKey(c Curve, rand Reader) tuple of (Memory<PrivateKey>, error)

 

// .NET, .NET Standard 2.0
Shared Function GenerateKey(c As Curve, rand As Reader) As Tuple (Of Memory<PrivateKey>, error)
// Island
Shared Function GenerateKey(c As Curve, rand As Reader) As Tuple (Of Memory<PrivateKey>, error)

Parameters:

  • c:
  • rand:

Sign

 

// .NET, .NET Standard 2.0
class method Sign(rand: Reader; priv: Memory<PrivateKey>; hash: Slice<Byte>): tuple of (r: Memory<Int>, s: Memory<Int>, err: error)
// Island
class method Sign(rand: Reader; priv: Memory<PrivateKey>; hash: Slice<Byte>): tuple of (r: Memory<Int>, s: Memory<Int>, err: error)

 

// .NET, .NET Standard 2.0
static (Memory<Int>rr, Memory<Int>ss, error err) Sign(Reader rand, Memory<PrivateKey> priv, Slice<Byte> hash)
// Island
static (Memory<Int>r, Memory<Int>s, error err) Sign(Reader rand, Memory<PrivateKey> priv, Slice<Byte> hash)

 

// .NET, .NET Standard 2.0
static func Sign(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Slice<Byte>) -> (Memory<Int>, Memory<Int>, error)
// Island
static func Sign(_ rand: Reader, _ priv: Memory<PrivateKey>, _ hash: Slice<Byte>) -> (Memory<Int>, Memory<Int>, error)

 

// .NET, .NET Standard 2.0
func Sign(rand Reader, priv Memory<PrivateKey>, hash Slice<Byte>) tuple of (|name=r| Memory<Int>, |name=s| Memory<Int>, |name=err| error)
// Island
func Sign(rand Reader, priv Memory<PrivateKey>, hash Slice<Byte>) tuple of (|name=r| Memory<Int>, |name=s| Memory<Int>, |name=err| error)

 

// .NET, .NET Standard 2.0
Shared Function Sign(rand As Reader, priv As Memory<PrivateKey>, hash As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>, error)
// Island
Shared Function Sign(rand As Reader, priv As Memory<PrivateKey>, hash As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>, error)

Parameters:

  • rand:
  • priv:
  • hash:

Verify

 

// .NET, .NET Standard 2.0
class method Verify(pub: Memory<PublicKey>; hash: Slice<Byte>; r: Memory<Int>; s: Memory<Int>): bool
// Island
class method Verify(pub: Memory<PublicKey>; hash: Slice<Byte>; r: Memory<Int>; s: Memory<Int>): bool

 

// .NET, .NET Standard 2.0
static bool Verify(Memory<PublicKey> pub, Slice<Byte> hash, Memory<Int> r, Memory<Int> s)
// Island
static bool Verify(Memory<PublicKey> pub, Slice<Byte> hash, Memory<Int> r, Memory<Int> s)

 

// .NET, .NET Standard 2.0
static func Verify(_ pub: Memory<PublicKey>, _ hash: Slice<Byte>, _ r: Memory<Int>, _ s: Memory<Int>) -> bool
// Island
static func Verify(_ pub: Memory<PublicKey>, _ hash: Slice<Byte>, _ r: Memory<Int>, _ s: Memory<Int>) -> bool

 

// .NET, .NET Standard 2.0
func Verify(pub Memory<PublicKey>, hash Slice<Byte>, r Memory<Int>, s Memory<Int>) bool
// Island
func Verify(pub Memory<PublicKey>, hash Slice<Byte>, r Memory<Int>, s Memory<Int>) bool

 

// .NET, .NET Standard 2.0
Shared Function Verify(pub As Memory<PublicKey>, hash As Slice<Byte>, r As Memory<Int>, s As Memory<Int>) As bool
// Island
Shared Function Verify(pub As Memory<PublicKey>, hash As Slice<Byte>, r As Memory<Int>, s As Memory<Int>) As bool

Parameters:

  • pub:
  • hash:
  • r:
  • s: