Skip to content

jpage-godaddy/asherah-cobhan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asherah envelope encryption and key rotation library

This is a wrapper of the Asherah Go implementation using the Cobhan FFI library

Example code:

import asherah from 'asherah'

asherah.setup('static', 'memory', null, null, null, null, null, 'TestService', 'TestProduct', null, true, true)

var data = Buffer.from('mysecretdata', 'utf8');

var encrypted = asherah.encrypt('partition', data);
console.log(encrypted);

var decrypted = asherah.decrypt('partition', encrypted);

console.log("Decrypted: " + decrypted.toString('utf8'));

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published