Class: EncryptionKey
GroupKeys are AES cipher keys, which are used to encrypt/decrypt StreamMessages (when encryptionType is AES). Each group key contains 256 random bits of key data and an UUID.
Constructors
constructor
• new EncryptionKey(id
, data
)
Parameters
Name | Type |
---|---|
id | string |
data | Buffer |
Methods
generate
▸ Static
generate(id?
): EncryptionKey
Parameters
Name | Type |
---|---|
id | string |