sodium.js library
Classes
- SodiumInit
- Static class to obtain a Sodium instance.
- SodiumSumoInit
- Static class to obtain a SodiumSumo instance.
Extension Types
- CryptoBox
- CryptoKX
- JSError
- A wrapper around the JS Error type.
- KeyPair
- LibSodiumJS
- SecretBox
- SecretStreamInitPush
- SecretStreamPull
Extensions
Functions
-
jsErrorWrap<
T> (T callback()) → T - Wraps any callback to convert JSErrors to SodiumExceptions.