ElectronSafeStorage.isEncryptionAvailable method
ElectronSafeStorage › isEncryptionAvailable
Unofficial
Whether encryption is available.On Linux, returns
true if the app has emitted the ready event and the secret key is available. On macOS, returns true if Keychain is available. On Windows, returns true once the app has emitted the ready event. Signature:
isEncryptionAvailable(): booleanReturns: boolean — true if string encryption is available on the current platform.