Encrypted payload.
Methods
(static) decode(buf) → {Object}
Decode encrypted payload.
NOTE: all structure members are copied.
Parameters:
Name | Type | Description |
---|---|---|
buf |
Buffer | A buffer that contains encrypted payload |
- Source:
Returns:
Decoded encrypted structure.
- Type
- Object
(static) encode(opts) → {Buffer}
Encode encrypted
.
Parameters:
Name | Type | Description |
---|---|---|
opts |
Object | Encode options |
- Source:
Returns:
Encoded encrypted payload.
- Type
- Buffer