i have doubt iam working on outsystems for build an application my doubt is my team member created pushagent which is to be push data to my outsystems and my team member hashed the one entity (it is json format) and pass the encrpyted value now i want to decrpyt that value and my teammember shared key also.is it possible to decrypt if possible what is proceess can u plz tell me
First of all please check if it is really "hashed" or not. If it was only encrypted and not hashed, it would be possible to decrypt with a key.
You cannot "decrypt" hashes.
i checked it he send me encrpyted value now how to decrypt in outsystems
Can you ask him which server action he used to Encrypt? and what key he used?
In your application, add dependency to CryptoAPI module > AES_Decrypt
Sir, Push agent is separate application which is developed is using electron js, Express js. We are using "blueimp-md5" npm package it is encrypting data using md5 with key(string). Sir is there any way to decrypt data which is in stored database. And tried decrypting using AES_Decrypt but it is returning the "bad data"
It won't be possible to decrypt in this case.
Can u explain briefly plz
Sorry, won't be possible dependency value.
https://www.npmjs.com/package/blueimp-md5#api
Hi Pydisetti Sai,
your team member used this one can't decrypt.
But I want know, which Utils and encryption method used your team member ?
give me the details please..
thanks,
Ramesh
Sir, He using this npm package and he is pushing data from an electron app to our outsystems api.
npm Package:blueimp-md5 - npm (npmjs.com)
Hi Pydisetti,
OutSystems has CryptoAPI extension that you can use to encrypt and decrypt using AES or RSA. Your team member should be able to tell you exactly what kind of encryption they used, otherwise decrypting is impossible of course.
I don't want to encrypt already I have encrypted value and key (MD5 algorithm) my team member already encrypt the data and push the encrypt value and key to my outsystems platform now my work is to be i want to decrypt in outsystems I have encrypted value and key now how to fix this
I wrote "can encrypt and decrypt", I know you don't want to encrypt. That said, MD5 is not an encryption algorithm. It's a hashing alhorithm, which means that you cannot decrypt what has been hashed with MD5. What you are asking for is not possible. Your team member either doesn't understand this, or they don't understand you need to decrypt. Please discuss this with your team member, as we cannot help you there!
thank you @Kilian Hekhuis
ok i understood we use AES algorthim now i want to decrypt value in outsystems and he shared key also now how to fix
Use that server action to decrypt
but how should i use and where the key should placed or used can u give any oml or brief discussion
Hi Pydisetti Sai ,
please find the attached OML File. thanks
here,my problem is to be i want to decrypt json data which is to encrypted in another machine he giving the key and value i want to decrypt that and store in to database it is in json format can u plz suggest how can acheive ,Here my team member encrpyt tha data in his sysytem (using express js) now he is sending tha data to my outsystems server where he is sending value now i want to decrypt is it possible if how can acheive
You've asked the same question a number of times, and people have already given you perfectly fine answers. This forum is meant to guide people who run into problems specific to OutSystems, but it is not a forum for starting developers to ask for working code or for others to do your job. If you don't know how en/decryption works, ask your colleague who did the encryption, perhaps he can show you how things work.
I'm going to close this topic now, if you have any questions that are more specific, start a new topic.