SecretEncryptionUtils..::..GenerateNewKeyPairFromSeed Method
Generates a new key pair from the given 32-byte secret seed (which should be generated with a CSPRNG) and returns it as object.
The returned keys can be used for signing and key agreement.
Namespace:
SecretNET.CommonAssembly: SecretNET (in SecretNET.dll)
Syntax
public static ValueTuple<byte[], byte[]> GenerateNewKeyPairFromSeed( byte[] key )
Parameters
- key
- Type: array<Byte>[]()[][]
The key.