Skip to content

Sign buffers using a dats private key. Intended for low level testing, doesn't have a super practical use case.

Notifications You must be signed in to change notification settings

max-mapper/datsign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datsign

Sign buffers using a dats private key. Intended for low level testing, doesn't have a super practical use case.

See also: http://github.com/maxogden/dat

JS

var datsign = require('datsign')
var buf = 'hello'
var opts = {}
var cb = function (err, signature) {
  if (err) throw err
  console.log(signature)
}

datsign(buf, opts, cb)

CLI

npm i datsign -g
datsign 'hello'

About

Sign buffers using a dats private key. Intended for low level testing, doesn't have a super practical use case.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published