isValid

open fun isValid(data: Array<Byte>, curve: Curve): Boolean

Determines if the given private key is valid or not.

Return

true if the private key is valid, false otherwise

Parameters

data

block of data (private key bytes)

curve

Eliptic curve of the private key