Post Closed
138
Views
19
Comments
About decryption

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



2022-08-03 04-32-50
Ravi Punjwani

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.

UserImage.jpg
Pydisetti sai

i checked it he send me encrpyted value now how to decrypt in outsystems



2022-08-03 04-32-50
Ravi Punjwani

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

UserImage.jpg
Pydisetti sai

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"  

2022-08-03 04-32-50
Ravi Punjwani

It won't be possible to decrypt in this case.

UserImage.jpg
Pydisetti sai
2025-10-18 11-13-53
Ramesh subramanian

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


UserImage.jpg
Pydisetti sai

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)

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

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.


UserImage.jpg
Pydisetti sai

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Pydisetti,

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!

UserImage.jpg
Pydisetti sai

ok i understood we use AES algorthim now i want to decrypt value in outsystems and he shared key also now how to fix

2022-08-03 04-32-50
Ravi Punjwani

In your application, add dependency to CryptoAPI module > AES_Decrypt

Use that server action to decrypt

UserImage.jpg
Pydisetti sai

but how  should i use and where the key should placed or used  can u give any oml or brief discussion

2025-10-18 11-13-53
Ramesh subramanian

Hi Pydisetti Sai ,

please find the attached OML File. thanks



Teste.oml
UserImage.jpg
Pydisetti sai

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


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Pydisetti,

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.