modificatons
This commit is contained in:
@@ -285,6 +285,7 @@ app.post('/deCryptMessage', (req, res) => {
|
||||
var receiverSessionCipher = new libsignal.SessionCipher(receiverStore, SENDER_ADDRESS); //ubaceno
|
||||
receiverSessionCipher.decryptPreKeyWhisperMessage(buf5, 'binary').then(function (ciphertext) {
|
||||
poruka = ciphertext.toString();
|
||||
console.log(poruka)
|
||||
res.json({
|
||||
data: {
|
||||
message: poruka
|
||||
|
||||
Reference in New Issue
Block a user