PrivateKey
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.crypto.ecdsa
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
PrivateKey()
init()
Sub New()
// .NET, .NET Standard 2.0
constructor(aPublicKey: PublicKey; aD: Memory<Int>)
// Island
constructor(aPublicKey: PublicKey; aD: Memory<Int>)
// .NET, .NET Standard 2.0
PrivateKey(PublicKey aPublicKey, Memory<Int> aD)
// Island
PrivateKey(PublicKey aPublicKey, Memory<Int> aD)
Parameters:
- aPublicKey:
- aD:
constructor (PrivateKey)
constructor(value: PrivateKey)
PrivateKey(PrivateKey value)
init(_ value: PrivateKey)
Sub New(value As PrivateKey)
Parameters:
- value:
Add
// .NET, .NET Standard 2.0
method Add(x1: Memory<Int>; y1: Memory<Int>; x2: Memory<Int>; y2: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// Island
method Add(x1: Memory<Int>; y1: Memory<Int>; x2: Memory<Int>; y2: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// .NET, .NET Standard 2.0
(Memory<Int>x, Memory<Int>y) Add(Memory<Int> x1, Memory<Int> y1, Memory<Int> x2, Memory<Int> y2)
// Island
(Memory<Int>x, Memory<Int>y) Add(Memory<Int> x1, Memory<Int> y1, Memory<Int> x2, Memory<Int> y2)
// .NET, .NET Standard 2.0
func Add(_ x1: Memory<Int>, _ y1: Memory<Int>, _ x2: Memory<Int>, _ y2: Memory<Int>) -> (Memory<Int>, Memory<Int>)
// Island
func Add(_ x1: Memory<Int>, _ y1: Memory<Int>, _ x2: Memory<Int>, _ y2: Memory<Int>) -> (Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- x2:
- y2:
Curve
property Curve: Curve read write;
Curve Curve { get; set; }
var Curve: Curve { get{} set{} }
Curve Curve
Property Curve() As Curve
D
Double
// .NET, .NET Standard 2.0
method Double(x1: Memory<Int>; y1: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// Island
method Double(x1: Memory<Int>; y1: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// .NET, .NET Standard 2.0
(Memory<Int>x, Memory<Int>y) Double(Memory<Int> x1, Memory<Int> y1)
// Island
(Memory<Int>x, Memory<Int>y) Double(Memory<Int> x1, Memory<Int> y1)
// .NET, .NET Standard 2.0
func Double(_ x1: Memory<Int>, _ y1: Memory<Int>) -> (Memory<Int>, Memory<Int>)
// Island
func Double(_ x1: Memory<Int>, _ y1: Memory<Int>) -> (Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
IsOnCurve
// .NET, .NET Standard 2.0
method IsOnCurve(x: Memory<Int>; y: Memory<Int>): bool
// Island
method IsOnCurve(x: Memory<Int>; y: Memory<Int>): bool
// .NET, .NET Standard 2.0
bool IsOnCurve(Memory<Int> x, Memory<Int> y)
// Island
bool IsOnCurve(Memory<Int> x, Memory<Int> y)
// .NET, .NET Standard 2.0
func IsOnCurve(_ x: Memory<Int>, _ y: Memory<Int>) -> bool
// Island
func IsOnCurve(_ x: Memory<Int>, _ y: Memory<Int>) -> bool
Parameters:
- x:
- y:
Params
// .NET, .NET Standard 2.0
method Params: Memory<CurveParams>
// Island
method Params: Memory<CurveParams>
// .NET, .NET Standard 2.0
Memory<CurveParams> Params()
// Island
Memory<CurveParams> Params()
// .NET, .NET Standard 2.0
func Params() -> Memory<CurveParams>
// Island
func Params() -> Memory<CurveParams>
// .NET, .NET Standard 2.0
func Params() Memory<CurveParams>
// Island
func Params() Memory<CurveParams>
// .NET, .NET Standard 2.0
Function Params() As Memory<CurveParams>
// Island
Function Params() As Memory<CurveParams>
Public Island
method Public: PublicKey
PublicKey Public()
func Public() -> PublicKey
func Public() PublicKey
Function Public() As PublicKey
PublicKey
var PublicKey: PublicKey;
PublicKey PublicKey
var PublicKey: PublicKey
PublicKey PublicKey
FIELD PublicKey() As PublicKey
ScalarBaseMult
Parameters:
- k:
ScalarMult
// .NET, .NET Standard 2.0
method ScalarMult(x1: Memory<Int>; y1: Memory<Int>; k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
// Island
method ScalarMult(x1: Memory<Int>; y1: Memory<Int>; k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
// .NET, .NET Standard 2.0
(Memory<Int>x, Memory<Int>y) ScalarMult(Memory<Int> x1, Memory<Int> y1, Slice<Byte> k)
// Island
(Memory<Int>x, Memory<Int>y) ScalarMult(Memory<Int> x1, Memory<Int> y1, Slice<Byte> k)
// .NET, .NET Standard 2.0
func ScalarMult(_ x1: Memory<Int>, _ y1: Memory<Int>, _ k: Slice<Byte>) -> (Memory<Int>, Memory<Int>)
// Island
func ScalarMult(_ x1: Memory<Int>, _ y1: Memory<Int>, _ k: Slice<Byte>) -> (Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- k:
Parameters:
- rand:
- digest:
- opts:
Parameters:
- rand:
- digest:
- opts:
X
// .NET, .NET Standard 2.0
property X: Memory<Int> read write;
// Island
property X: Memory<Int> read write;
Y
D
PublicKey
Curve
property Curve: Curve read write;
Curve Curve { get; set; }
var Curve: Curve { get{} set{} }
Curve Curve
Property Curve() As Curve
X
// .NET, .NET Standard 2.0
property X: Memory<Int> read write;
// Island
property X: Memory<Int> read write;
Y
constructor
constructor
PrivateKey()
init()
Sub New()
// .NET, .NET Standard 2.0
constructor(aPublicKey: PublicKey; aD: Memory<Int>)
// Island
constructor(aPublicKey: PublicKey; aD: Memory<Int>)
// .NET, .NET Standard 2.0
PrivateKey(PublicKey aPublicKey, Memory<Int> aD)
// Island
PrivateKey(PublicKey aPublicKey, Memory<Int> aD)
Parameters:
- aPublicKey:
- aD:
constructor (PrivateKey)
constructor(value: PrivateKey)
PrivateKey(PrivateKey value)
init(_ value: PrivateKey)
Sub New(value As PrivateKey)
Parameters:
- value:
Add
// .NET, .NET Standard 2.0
method Add(x1: Memory<Int>; y1: Memory<Int>; x2: Memory<Int>; y2: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// Island
method Add(x1: Memory<Int>; y1: Memory<Int>; x2: Memory<Int>; y2: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// .NET, .NET Standard 2.0
(Memory<Int>x, Memory<Int>y) Add(Memory<Int> x1, Memory<Int> y1, Memory<Int> x2, Memory<Int> y2)
// Island
(Memory<Int>x, Memory<Int>y) Add(Memory<Int> x1, Memory<Int> y1, Memory<Int> x2, Memory<Int> y2)
// .NET, .NET Standard 2.0
func Add(_ x1: Memory<Int>, _ y1: Memory<Int>, _ x2: Memory<Int>, _ y2: Memory<Int>) -> (Memory<Int>, Memory<Int>)
// Island
func Add(_ x1: Memory<Int>, _ y1: Memory<Int>, _ x2: Memory<Int>, _ y2: Memory<Int>) -> (Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- x2:
- y2:
Double
// .NET, .NET Standard 2.0
method Double(x1: Memory<Int>; y1: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// Island
method Double(x1: Memory<Int>; y1: Memory<Int>): tuple of (x: Memory<Int>, y: Memory<Int>)
// .NET, .NET Standard 2.0
(Memory<Int>x, Memory<Int>y) Double(Memory<Int> x1, Memory<Int> y1)
// Island
(Memory<Int>x, Memory<Int>y) Double(Memory<Int> x1, Memory<Int> y1)
// .NET, .NET Standard 2.0
func Double(_ x1: Memory<Int>, _ y1: Memory<Int>) -> (Memory<Int>, Memory<Int>)
// Island
func Double(_ x1: Memory<Int>, _ y1: Memory<Int>) -> (Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
IsOnCurve
// .NET, .NET Standard 2.0
method IsOnCurve(x: Memory<Int>; y: Memory<Int>): bool
// Island
method IsOnCurve(x: Memory<Int>; y: Memory<Int>): bool
// .NET, .NET Standard 2.0
bool IsOnCurve(Memory<Int> x, Memory<Int> y)
// Island
bool IsOnCurve(Memory<Int> x, Memory<Int> y)
// .NET, .NET Standard 2.0
func IsOnCurve(_ x: Memory<Int>, _ y: Memory<Int>) -> bool
// Island
func IsOnCurve(_ x: Memory<Int>, _ y: Memory<Int>) -> bool
Parameters:
- x:
- y:
Params
// .NET, .NET Standard 2.0
method Params: Memory<CurveParams>
// Island
method Params: Memory<CurveParams>
// .NET, .NET Standard 2.0
Memory<CurveParams> Params()
// Island
Memory<CurveParams> Params()
// .NET, .NET Standard 2.0
func Params() -> Memory<CurveParams>
// Island
func Params() -> Memory<CurveParams>
// .NET, .NET Standard 2.0
func Params() Memory<CurveParams>
// Island
func Params() Memory<CurveParams>
// .NET, .NET Standard 2.0
Function Params() As Memory<CurveParams>
// Island
Function Params() As Memory<CurveParams>
Public Island
method Public: PublicKey
PublicKey Public()
func Public() -> PublicKey
func Public() PublicKey
Function Public() As PublicKey
ScalarBaseMult
Parameters:
- k:
ScalarMult
// .NET, .NET Standard 2.0
method ScalarMult(x1: Memory<Int>; y1: Memory<Int>; k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
// Island
method ScalarMult(x1: Memory<Int>; y1: Memory<Int>; k: Slice<Byte>): tuple of (x: Memory<Int>, y: Memory<Int>)
// .NET, .NET Standard 2.0
(Memory<Int>x, Memory<Int>y) ScalarMult(Memory<Int> x1, Memory<Int> y1, Slice<Byte> k)
// Island
(Memory<Int>x, Memory<Int>y) ScalarMult(Memory<Int> x1, Memory<Int> y1, Slice<Byte> k)
// .NET, .NET Standard 2.0
func ScalarMult(_ x1: Memory<Int>, _ y1: Memory<Int>, _ k: Slice<Byte>) -> (Memory<Int>, Memory<Int>)
// Island
func ScalarMult(_ x1: Memory<Int>, _ y1: Memory<Int>, _ k: Slice<Byte>) -> (Memory<Int>, Memory<Int>)
Parameters:
- x1:
- y1:
- k:
Parameters:
- rand:
- digest:
- opts: