Skip to content

snoteapp/SEnclave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SEnclave

Core data encryption for https://snote.app

Import into your web application

<script src="senclave.min.js"></script>

Basic Usage

// Create Local Account And Login
await SEnclave.signup('user@domain.com', 'password');

// Generate symmetric key encrypted using the account private key
let ekey=await SEnclave.generateEncryptedKey();

// Create secure enclave using the encrypted symmetric key
let se=await SEnclave.create({ekey:ekey});

// Encrypt data
let edata=await se.encrypt("hello world");

// Decrypt data
let data=await se.decrypt(edata);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published