@seald-io/sdk
v0.31.0
Published
Doeling at heart
Downloads
2,231
Readme
Seald SDK
SealdSDK allows you to use the full power of Seald encryption, directly in your application, whether a web-application in the browser, a Node.js server, a react-native mobile app, ...
You can create and retrieve Seald identities for your app's users, encrypt and decrypt files, create encryption sessions, add or revoke recipients ...
The Seald SDK has plugins you may be interested in:
You can find the full changelog at https://www.seald.io/changelog#sdk.
For more information, visit our website : https://seald.io
Example:
import SealdSDK from '@seald-io/sdk'
const seald = SealdSDK({ appId, apiURL })
await seald.initialize()
// Creating a Seald identity
const { sealdId: mySealdId } = await seald.initiateIdentity({ signupJWT })
// Encrypting / Decrypting data
const encryptedFile = await seald.encryptFile('Secret file content', 'SecretFile.txt', { sealdIds: [otherUserSealdId] })
const decryptedFile = await seald.decryptFile(encryptedFile)
For the full documentation, visit our documentation page : https://docs.seald.io/en/sdk/
© 2024 Seald SAS
You can find the license information of Open Source libraries used in Seald SDK for JavaScript at https://download.seald.io/download/js_dependencies_licenses.txt.