Note that these encryption mechanisms are not transferrable between computers. We recommend using
them with papi.storage methods to store data safely.
WARNING: The primary purpose of this service is to enable extensions to encrypt and decrypt data
to be stored securely in local files. It is not intended to protect data passed over a network
connection. Please note that using this service passes the unencrypted string between local
processes using the PAPI WebSocket.
Provides functions related to encrypting and decrypting strings like user data, secrets, etc.
Uses Electron's
safeStorage
API.Note that these encryption mechanisms are not transferrable between computers. We recommend using them with
papi.storage
methods to store data safely.WARNING: The primary purpose of this service is to enable extensions to encrypt and decrypt data to be stored securely in local files. It is not intended to protect data passed over a network connection. Please note that using this service passes the unencrypted string between local processes using the PAPI WebSocket.