sodium.js library
Classes
- LibSodiumJSLoader
- A helper class that interacts with sodium.js to get the loaded sodium instance.
- 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.
Typedefs
- AuthHmacsha256State = JSNumber
- AuthHmacsha512256State = JSNumber
- AuthHmacsha512State = JSNumber
- GenerichashState = JSNumber
- HashSha256State = JSNumber
- HashSha512State = JSNumber
- OnetimeauthState = JSNumber
- SecretstreamXchacha20poly1305State = JSNumber
- SignState = JSNumber
- XofShake128State = JSNumber
- XofShake256State = JSNumber
- XofTurboshake128State = JSNumber
- XofTurboshake256State = JSNumber