@seald-io/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.28.1 • Public • Published

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/

© 2023 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @seald-io/sdk

Weekly Downloads

380

Version

0.28.1

License

UNLICENSED

Unpacked Size

7.83 MB

Total Files

40

Last publish

Collaborators

  • arantes
  • seald
  • tex0l