EdPublicKey.fromBytes(Uint8List publicKey, this.curve) { if (publicKey.length == curve.keySize) { this.publicKey = publicKey; } else { throw KeySizeException(curve.keySize); } }