Skip to content

nilpoint/node-guardtime

 
 

Repository files navigation

API to access Guardtime services.

Includes Guardtime C API in subdirectory libgt-x.y

How to build:

npm install .
npm link

or

node-gyp rebuild 

Hello world:

var gt = require('guardtime');

gt.sign('Hello world!', function(err, ts) {
  if (err)
    throw err;
  gt.verify('Hello world!', ts, function(err, checkflags, props){
    if (err) 
      throw err;
    console.log('All ok; signed by ' + props.location_name + ' at ' + props.registered_time);
  });
});

For API documentation please refer to node-guardtime-api.markdown

For more information about the Guardtime Keyless Signature service please have a look at http://www.guardtime.com/signatures/technology-overview

As You are already here - this is the essence: Guardtime service adds hash of your doc to a giant hash tree with globally unique root value; and regularily publishes this root value in widely witnessed media. This allows you to prove that your document did exist at certain point of time, you used certain service endpoint, and this document was not modified ever after.

Needs Node.JS >= 0.6.0; Windows is not tested.

build status


Published under Apache license v. 2.0. Copyright Guardtime AS 2014

About

Guardtime Keyless Signature Infrastructure (KSI) API for node.js

Resources

Stars

Watchers

Forks

Packages

No packages published