isValid

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

Determines if the given secret key is valid or not.

Return

true if the secret key is valid, false otherwise.

Parameters

data

*non-null* byte array.