PublicKeyPACEeCDH.fromHex constructor

PublicKeyPACEeCDH.fromHex({
  1. required Uint8List hexKey,
})

Implementation

PublicKeyPACEeCDH.fromHex({required Uint8List hexKey})
    : _x = Utils.uint8ListToBigInt(hexKey.sublist(0, hexKey.length ~/ 2)),
      _y = Utils.uint8ListToBigInt(hexKey.sublist(hexKey.length ~/ 2)),
      super(algo: TOKEN_AGREEMENT_ALGO.ECDH);