Static
adapterThe adapter gives access to required crypto methods
Static
initInitializes the crypto module with platform specific CryptoAdapter
This must be called, before any of the crypto functions is being used
The platform specific adapter, e.g. NodeJSCryptoAdapter, WebCryptoAdapter, or any other provider
Unified Low-Level Crypto Class for common crypto operations needed for Signum.
IMPORTANT: Before using any of the crypto functions () needs to be called once
Usually, you want to use the comfort functions like encryptData, encryptMessage, decryptData, decryptData, getRandomBytes, etc.
Interacting with this class maybe necessary in cases where the underlying crypto implementations need to be customized, i.e. React Native