$login="ejd78356@nbzmr.com";
$pwd="212121";
$bytes=$pwd.$login;
echo(base64_encode(hash('sha256',$bytes, 2)));
hash('sha256',$bytes, 2)
const crypto = require('crypto');
var login = 'ejd78356@nbzmr.com';
var pwd = '212121';
var bytes = pwd+login;
const hash = crypto.createHash('sha256').update(bytes).digest('base64')
console.log(hash);