Global

Location

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

Methods


GenerateKey

 

class method GenerateKey(curve: Curve; rand: Reader): tuple of (priv: Slice<Byte>, x: Memory<Int>, y: Memory<Int>, err: error)

 

// .NET, .NET Standard 2.0
static (Slice<Byte>priv, Memory<Int>x, Memory<Int>y, error err) GenerateKey(Curve curve, Reader rand)
// Island
static (Slice<Byte>priv, Memory<Int>x, Memory<Int>y, error err) GenerateKey(Curve curve, Reader rand)

 

static func GenerateKey(_ curve: Curve, _ rand: Reader) -> (Slice<Byte>, Memory<Int>, Memory<Int>, error)

 

func GenerateKey(curve Curve, rand Reader) tuple of (|name=priv| Slice<Byte>, |name=x| Memory<Int>, |name=y| Memory<Int>, |name=err| error)

 

Shared Function GenerateKey(curve As Curve, rand As Reader) As Tuple (Of Slice<Byte>, Memory<Int>, Memory<Int>, error)

Parameters:

  • curve:
  • rand:

Marshal

 

// .NET, .NET Standard 2.0
class method Marshal(curve: Curve; x: Memory<Int>; y: Memory<Int>): Slice<Byte>
// Island
class method Marshal(curve: Curve; x: Memory<Int>; y: Memory<Int>): Slice<Byte>

 

// .NET, .NET Standard 2.0
static Slice<Byte> Marshal(Curve curve, Memory<Int> x, Memory<Int> y)
// Island
static Slice<Byte> Marshal(Curve curve, Memory<Int> x, Memory<Int> y)

 

// .NET, .NET Standard 2.0
static func Marshal(_ curve: Curve, _ x: Memory<Int>, _ y: Memory<Int>) -> Slice<Byte>
// Island
static func Marshal(_ curve: Curve, _ x: Memory<Int>, _ y: Memory<Int>) -> Slice<Byte>

 

// .NET, .NET Standard 2.0
func Marshal(curve Curve, x Memory<Int>, y Memory<Int>) Slice<Byte>
// Island
func Marshal(curve Curve, x Memory<Int>, y Memory<Int>) Slice<Byte>

 

// .NET, .NET Standard 2.0
Shared Function Marshal(curve As Curve, x As Memory<Int>, y As Memory<Int>) As Slice<Byte>
// Island
Shared Function Marshal(curve As Curve, x As Memory<Int>, y As Memory<Int>) As Slice<Byte>

Parameters:

  • curve:
  • x:
  • y:

P224

 

class method P224: Curve

 

static Curve P224()

 

static func P224() -> Curve

 

func P224() Curve

 

Shared Function P224() As Curve

P256

 

class method P256: Curve

 

static Curve P256()

 

static func P256() -> Curve

 

func P256() Curve

 

Shared Function P256() As Curve

P384

 

class method P384: Curve

 

static Curve P384()

 

static func P384() -> Curve

 

func P384() Curve

 

Shared Function P384() As Curve

P521

 

class method P521: Curve

 

static Curve P521()

 

static func P521() -> Curve

 

func P521() Curve

 

Shared Function P521() As Curve

Unmarshal

 

class method Unmarshal(curve: Curve; data: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)

 

// .NET, .NET Standard 2.0
static (Memory<Int>x, Memory<Int>y) Unmarshal(Curve curve, Slice<Byte> data)
// Island
static (Memory<Int>x, Memory<Int>y) Unmarshal(Curve curve, Slice<Byte> data)

 

static func Unmarshal(_ curve: Curve, _ data: Slice<Byte>) -> (Memory<Int>, Memory<Int>)

 

func Unmarshal(curve Curve, data Slice<Byte>) tuple of (|name=x| Memory<Int>, |name=y| Memory<Int>)

 

Shared Function Unmarshal(curve As Curve, data As Slice<Byte>) As Tuple (Of Memory<Int>, Memory<Int>)

Parameters:

  • curve:
  • data: