Skip to content

Instantly share code, notes, and snippets.

View ccoenen's full-sized avatar

Claudius Coenen ccoenen

View GitHub Profile
@ccoenen
ccoenen / Deutsche Webhosting Anbieter.md
Last active November 5, 2020 15:47
Nach dem Verkauf von HostEurope an GoDaddy bin ich auf der Suche nach einem deutschen Webhoster für ein kleines privates Paket.
@ccoenen
ccoenen / anchor-test.md
Last active April 2, 2018 09:18
Test of Hackmd Issue #795

Summary Heading

test

@ccoenen
ccoenen / node-scrypt-to-scrypt-async.js
Last active September 16, 2018 17:39
I am trying to read "old" node-scrypt hashes with scrypt-async. So far with little success. This script needs `scrypt` and `scrypt-async` installed via `npm`
/* ATTEMPT TO PARSE A node-scrypt STRING CORRECTLY FOR USE WITH scrypt-async */
var scrypt = require('scrypt-async');
var scryptOld = require('scrypt');
var crypto = require('crypto');
// Format as seen in node-scrypt, written by Barry Steyn. Scrypt by Colin Percival.
// https://github.com/barrysteyn/node-scrypt/blob/master/scrypt/scrypt-1.2.0/keyderivation.c#L60-L77 and
// https://security.stackexchange.com/a/91050/50616
// scrypt paper: https://www.tarsnap.com/scrypt/scrypt.pdf (not helpful for this :-( )