Hey guys, I need a help. How can i use the DecryptoAPI?
I just installed they in my service studio but i didint understand anything how to use this. Someone can help me?
One simple exemple: Id like to cat a string typed in my imput then insert into database encrypted then id decrypt they to the user can to see.
Hi Wallace,
See the example .OML in attachment.
It is an example similar to what Unnati wrote.
Hope this helps.
Regards.
Ok, thank you, I will download it. This exemple decript the data early encrypted saved on the database?
Yes that's right.
Hi Wallace Pimenta,
Have you used Try now option? if not, please try.
Thanks.
I have added a sample to use the encryption and decryption using AES -
1. Created sample components -
2. Added screen action to encrypt the "Data to encrypt" -
You can use any number of bits like 128,256,1024 etc.
3. Output
Please let me know if this helps.
Thanks,
Unnati
I have installed this forge but how can I see this black icons?
You need to refresh and apply dependencies (Crypto API) and you can found the black icons on logic tab.
Click on the plug icon on the left hand side corner to add dependency into your module -
You will get popup -
Click on CryptoAPI and add all the dependencies.
Then you can use the server action. You just have to drag and drop the Run Server Action into your work flow and then you should be able to use this.
Unnati.
Thank u, I will check and back here ok?
Thank you so much for your suport Unnati Khanorkar, you help me a lot! I d like too decrypt the data was saved into data base. How can I do it?
You can use the same server actions if you have saved the data by encrypting using crypto api and the generated Key.
AES Read Key then AES Decrypt?
Could u give me a exemple ?
You can follow the below steps -
1. Generate the key and save that key into DB before encrypting the data.
2. Save the encrypted data into DB using the key generated in first step.
3. Fetch the key from DB to decrypt the data again.
I would like to thank Agnos and Unnati. If there was a way to provide a solution for both of them, I would do it, in this case I will give it to Agnos because the video he made for me was a game changer. thank you all.
Click on CryptoAPI and add all the dependencies. Then you can use the server action....
Generate the key and save that key into DB before encrypting the data.Save the encrypted data into DB using the key generated in first step.Fetch the key from DB to decrypt the data again.