feat: Add initial frontend components and their corresponding build assets, along with generated API types and configuration.
Some checks failed
Build and Release / build-and-release (push) Failing after 7m50s
Some checks failed
Build and Release / build-and-release (push) Failing after 7m50s
This commit is contained in:
@@ -9,7 +9,9 @@ contextBridge.exposeInMainWorld('cryptoAPI', {
|
||||
deriveAuthKeys: (password, salt) => ipcRenderer.invoke('derive-auth-keys', password, salt),
|
||||
encryptData: (data, key) => ipcRenderer.invoke('encrypt-data', data, key),
|
||||
decryptData: (encryptedData, key, iv, tag, options) => ipcRenderer.invoke('decrypt-data', encryptedData, key, iv, tag, options),
|
||||
|
||||
decryptBatch: (items) => ipcRenderer.invoke('decrypt-batch', items),
|
||||
verifyBatch: (items) => ipcRenderer.invoke('verify-batch', items),
|
||||
|
||||
// RSA Helpers
|
||||
publicEncrypt: (publicKey, data) => ipcRenderer.invoke('public-encrypt', publicKey, data),
|
||||
privateDecrypt: (privateKey, encryptedHex) => ipcRenderer.invoke('private-decrypt', privateKey, encryptedHex),
|
||||
|
||||
Reference in New Issue
Block a user