Skip to content

Instantly share code, notes, and snippets.

@jhprinz
jhprinz / node.js
Created August 31, 2017 13:52 — forked from Roman2K/node.js
Ruby/node encryption/decryption
const crypto = require('crypto');
const PASSWORD = "098f6bcd4621d373cade4e832627b4f6"
, MESSAGE = 'test';
function InvalidSignatureError() {
Error.captureStackTrace(this, this.constructor);
}
function encipher(message, password, callback) {
@jhprinz
jhprinz / _.md
Last active August 2, 2016 08:51
voronoi
@jhprinz
jhprinz / .gitignore
Last active July 12, 2018 10:04 — forked from minrk/ipnbdoctest.py
Py# Created by .ignore support plugin (hsz.mobi)