This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that "swysio.id" is my Blockstack ID. https://onename.com/swysio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var crypto = require('crypto'), | |
pull = require('pull-stream'), | |
errors = [], | |
skipDecrypt = [], | |
encryptCount = 0, | |
decryptCount = 0 | |
var vals = 'node issue # 6477 told me to make input to xts algorithm more than 16bytes so that is what i am doing so this should work' | |
var ciphers = crypto.getCiphers() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var crypto = require('crypto'), | |
pull = require('pull-stream'); | |
exports = module.exports = function(opts, cb) { | |
if (!opts.password) throw new Error("Must supply password") | |
var alg = opts.algorithm || 'aes-256-cbc' | |
var enc = opts.encoding || 'hex' | |
var ine = opts.inputEncoding || 'utf-8' | |
var cipher = crypto.createCipher(alg, opts.password) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// canvas stuff | |
var canvas = document.createElement('canvas'); | |
canvas.id = 'c'; | |
canvas_context = canvas.getContext('2d'); | |
canvas.width = 700; | |
canvas.height = 300; | |
canvas.margin = '1em'; | |
canvas.display = 'block'; | |
document.body.appendChild(canvas); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var es = require('event-stream'), | |
EE = require('events').EventEmitter, | |
through = require('through'), | |
emitStream = require('emit-stream'), | |
ee = new EE(), | |
jsonStream = require('JSONStream'); | |
// Plotter is a simple event emitter that will emit the x and y mouse position values | |
// these values are then streamed into the console | |