/examples

Example code for working with Evervault's encryption and data privacy APIs.

Primary LanguageJavaScript

Evervault

Evervault Examples

This repository contains source code samples to give you an idea of how to integrate Evervault into an application to securely collect, process and share sensitive data.

Table of Contents

Click to expand

Getting Started

If you are new to Evervault, we recommend getting started by creating a free account.

Examples

Each example contains a README.md with an explanation about the example and its use cases.

Have an example? Submit a PR or open an issue. ⚡️

Example Runtime
Inbound Relay
Use Inbound Relay to securely store your customer's personal data in a database.
NodeJS
Outbound Relay
Use Outbound Relay to intercept your requests to third parties, and decrypt any Evervault encrypted data before forwarding it on to its destination.
NodeJS
Multiple Functions
Demonstrates having multiple functions in a single github repository.
NodeJS
Encrypted Multi-PSP
Use Evervault Inputs and Outbound Relay to collect and encrypt card details before conditionally sending them to multiple Payment Processors.
NodeJS
OAuth 2 Access Tokens - Python
Use the Python SDK and Outbound Relay to encrypt access tokens from a Github OAuth app.
Python
OAuth 2 Access Tokens - JavaScript
Use the React and Node SDKs with Outbound Relay to encrypt access tokens from a Github OAuth app.
NodeJS
Encrypted Files to S3 Bucket
Use the React and Node SDKs to encrypt a file and upload it to an S3 bucket.
NodeJS
Process Medical Data and Model in a Cage
Use Cages to run inference on a sensitive model and data.
Python
Run GPT-2 in a Cage
Generate text from a prompt inside of a Cage using GPT-2.
Python
Redact PII from OpenAI Prompts
Categorize support tickets using OpenAI with PII redacted using Relay Redaction.
NodeJS
Run OCR on a Sensitive Document in a Cage
Use Python and an OCR library to detect fields and determine the validity of a passport.
Python

Community Examples

Example Author
PDF Encryptor
Encrypt PDFs using an Evervault Function.
shanecurran

Be the first to share an example use case of Evervault with the community!

Contributing

We are happy to accept examples from the community. 🎉

Adding example code

  1. Create an example use case of Evervault by levering any of our products!

  2. Include a README.md explaining what it does, how to run it and any dependencies it might require.

  3. Open a new pull request with your example. ⚡️

Adding a community example

We love hearing about projects happening in the community. Feel free to add your Evervault project to our list.

  1. Add link, title, and description to the community-examples.json file.

  2. Open a new pull request with your example. ⚡️