loads

fun loads(data: ByteArray): EccKey

Load a key from a 32-byte private scalar or a 96-byte d‖X‖Y blob.

Throws

if the blob is neither length, or the scalar is out of range


fun loads(base64: String): EccKey

Load a key from a Base64-encoded blob.