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)
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>
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
Parameters:
- curve:
- data: