Skip to content

Instantly share code, notes, and snippets.

View Spotlight0xff's full-sized avatar

André Merboldt Spotlight0xff

View GitHub Profile
@rasmusbergpalm
rasmusbergpalm / vae.ipynb
Last active September 6, 2018 20:55
Yet another VAE note
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhydomako
rhydomako / 2016_07_07_notes_on_advi.ipynb
Created July 13, 2016 18:51
2016_07_07_notes_on_advi
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@skeggse
skeggse / crypto-pbkdf2-example.js
Last active May 21, 2024 09:21
Example of using crypto.pbkdf2 to hash and verify passwords asynchronously, while storing the hash and salt in a single combined buffer along with the original hash settings
var crypto = require('crypto');
// larger numbers mean better security, less
var config = {
// size of the generated hash
hashBytes: 32,
// larger salt means hashed passwords are more resistant to rainbow table, but
// you get diminishing returns pretty fast
saltBytes: 16,
// more iterations means an attacker has to take longer to brute force an