Once you've included libsodium.js and libsodium-wrapper.js, all the available wrapped functions and constants can be accessed in the sodium object.
To learn about the role of each method, please refer to the original documentation of libsodium
List of existing types:
Buf: An Uint8Array of a determined size. Used for keys, nonces, etc...Unsized Buf: An Uint8Array of an arbitrary size. Used for messages to sign, encrypt, hash, etc...Optional unsized buf