NonceStrategy
Deprecated
'NonceStrategy' is no longer a strategy of choosing encryption mode at runtime and the API will be changing in the near future.
An encryption mode, regarding the nonce, supported by Discord.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Generates a nonce, may use the provided information.
Link copied to clipboard
Reads the nonce from this packet (also removes it if it resides in the payload), and returns a ByteArrayView of it.