SHARE
TWEET

Untitled

a guest Mar 20th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Test decrypting AES message from server
  2. socket.on(‘aes server encrypted message’, function (msg) {
  3. addLog(‘Encrypted AES message from server’, msg);
  4. aesWrapper.decryptMessage(aesKey, msg).then(function (dec) {
  5. addLog(‘Decrypted AES message from server’, dec);
  6. });
  7. });
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top