Nerds Pledge Magnanimously

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

    0.24.0 • 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
    await seald.initiateIdentity({ userId, userLicenseToken })
    
    // Encrypting / Decrypting data
    const encryptedFile = await seald.encryptFile('Secret file content', 'SecretFile.txt', { sealdIds: ['Other-User'] })
    const decryptedFile = await seald.decryptFile(encryptedFile)

    For the full documentation, visit our documentation page : https://docs.seald.io/en/sdk/

    © 2021 Seald SAS

    Keywords

    none

    Install

    npm i @seald-io/sdk

    DownloadsWeekly Downloads

    324

    Version

    0.24.0

    License

    UNLICENSED

    Unpacked Size

    8.23 MB

    Total Files

    39

    Last publish

    Collaborators

    • arantes
    • seald
    • tex0l