UNPKG

mtproton

Version:

Telegram API JS (MTProto) client library for browser and nodejs

8 lines (5 loc) 185 B
const crypto = require('crypto'); async function PBKDF2(password, salt, iterations) { return crypto.pbkdf2Sync(password, salt, iterations, 64, 'sha512'); } module.exports = PBKDF2;