Closed ie76 closed 4 years ago
@ie76 did you try a decryptTempID function? I think it should fit for this case, because msgs from firestore should contain temp ids generated by opposite function. I planned to use this approach in the near feature.
Well yes i did, but i got a weird string when i used decodeAndDecrypt function. or should i use decodeAndDecrypt and then decryptTempID for msg attribute ?
@ie76 I think, just decryptTempID should be enough, because it's returning json with userId and timestamp. Try to invoke only decryptTempID with msg argument and encryption key obtained from await getEncryptionKey().
Thanks a lot for your help. it's worked perfectly ! Thanks again.
@ie76 can you help me on this?I'm still stuck at here :)
@ie76 can you help me on this?I'm still stuck at here :)
You still cannot decrypt the msg ?
yes bro, could you pls help me on this?
well are you using the nodejs backend too ? if yes there's a little function call decrypt, you can use it to decrypt your string with the private key. Easy
well are you using the nodejs backend too ? if yes there's a little function call decrypt, you can use it to decrypt your string with the private key. Easy
Yes, which function? Pls show me the way :)
Sure. There's a file called CustomEncrypter.ts with a decryptTempID, you can find more decryptions. you can look there and i'm sure you are going to find a solution
Hello,
i have an issue decrypting the msg attribute once it's stored. i want to decrypted once i get the records in firestore.
Thanks