I hereby claim:
- I am vko-online on github.
- I am littleponyeater (https://keybase.io/littleponyeater) on keybase.
- I have a public key ASCMFSuxo34yRr0Xahl2E1zRcgNEICm-hhSavVUuC_bHMwo
To claim this, I am signing this object:
accessToken 244120591.2f646e9.06a1bfe2c26e49499252236b2be6436b | |
clientId 924f677fa3854436947ab4372ffa688d | |
accessToken 8987997106.924f677.8555ecbd52584f41b9b22ec1a16dafb9 |
I hereby claim:
To claim this, I am signing this object:
/*interface BarData { | |
day1: number; | |
day2: number; | |
... | |
day30: number; | |
}*/ | |
type LessThan<N extends number, A extends number[] = []> = | |
N extends A['length'] ? A[number] : LessThan<N, [...A, A['length']]>; |
const crypto = require('crypto'); | |
const HASH_BYTES = 32; | |
const SALT_BYTES = 16; | |
const ITERATIONS = 15000; | |
const ENCODING = 'base64'; | |
const ALGORITHM = 'sha512'; | |
exports.hashPassword = password => { | |
return new Promise((resolve, reject) => { |