Class: ECDHSymmetricKey

type/ecdh_symkey~ECDHSymmetricKey()

new ECDHSymmetricKey()

Source:

Methods

read(input) → {Number}

Read an ECDHSymmetricKey from an Uint8Array

Parameters:
Name Type Description
input Uint8Array

Where to read the encoded symmetric key from

Source:
Returns:

Number of read bytes

Type
Number

write() → {Uint8Array}

Write an ECDHSymmetricKey as an Uint8Array

Source:
Returns:

An array containing the value

Type
Uint8Array