C# Class Library.Net.Connections.EcDiffieHellmanP521

Show file Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method Description
CreateKeys ( byte &publicKey, byte &privateKey ) : void

公開鍵と秘密鍵を作成して返す

DeriveKeyMaterial ( byte privateKey, byte otherPublicKey, CngAlgorithm hashAlgorithm ) : byte[]

Method Details

CreateKeys() public static method

公開鍵と秘密鍵を作成して返す
public static CreateKeys ( byte &publicKey, byte &privateKey ) : void
publicKey byte 作成された公開鍵
privateKey byte 作成された秘密鍵
return void

DeriveKeyMaterial() public static method

public static DeriveKeyMaterial ( byte privateKey, byte otherPublicKey, CngAlgorithm hashAlgorithm ) : byte[]
privateKey byte
otherPublicKey byte
hashAlgorithm CngAlgorithm
return byte[]