Rank: #4185
476Views
15Comments
Solved
[CryptoAPI] How to use CryptoAPI?
Question
API Forge
Forge component byJoão Barata
38
Published on15 Jun 2021
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.
2 replies Last reply 28 Nov 2020 Show thread Hide thread Rank: #610 Hi Wallace, 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 8 replies Last reply 29 Nov 2020 Show thread Hide thread Rank: #610 Replying to Wallace Pimenta's comment on 26 Nov 2020 11:14:40 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. Thanks, Unnati. Rank: #4185 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? Rank: #610 Replying to Wallace Pimenta's comment on 27 Nov 2020 10:50:54 Hi Wallace, 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. Thanks, Unnati 2 replies Last reply 28 Nov 2020 Show thread Hide thread https://codono.com/ Rank: #0 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.