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)
static (Slice<Byte>priv, Memory<Int>x, Memory<Int>y, error err) GenerateKey(Curve curve, Reader rand)
static func GenerateKey(_ curve: Curve, _ rand: Reader) -> tuple of (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
class method Marshal(curve: Curve; x: Memory<Int>; y: Memory<Int>): Slice<Byte>
static Slice<Byte> Marshal(Curve curve, Memory<Int> x, Memory<Int> y)
static func Marshal(_ curve: Curve, _ x: Memory<Int>, _ y: Memory<Int>) -> Slice<Byte>
func Marshal(curve Curve, x Memory<Int>, y Memory<Int>) Slice<Byte>
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>)
static (Memory<Int>x, Memory<Int>y) Unmarshal(Curve curve, Slice<Byte> data)
static func Unmarshal(_ curve: Curve, _ data: Slice<Byte>) -> tuple of (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: