UNPKG

auth-service-nestjs

Version:

Authorization service for lightweight systems

6 lines (4 loc) 148 B
const crypto = require('crypto'); module.exports= { getPasswordHash:(password)=> crypto.createHash('sha256').update(password).digest('base64') }