[CryptoAPI] How to use CryptoAPI? (2024)

Rank: #4185

476Views

15Comments

Solved

[CryptoAPI] How to use CryptoAPI?

Question

API

Forge

[CryptoAPI] How to use CryptoAPI? (2)

[CryptoAPI] How to use CryptoAPI? (3)

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.

26 Nov 2020

Copy link to comment

MVP

Rank: #131

Solution

Hi Wallace,

See the example .OML in attachment.

It is an example similar to what Unnati wrote.

[CryptoAPI] How to use CryptoAPI? (5)

[CryptoAPI] How to use CryptoAPI? (6)

Hope this helps.

Regards.

See solution in context

Teste.oml

27 Nov 2020

Copy link to comment

[CryptoAPI] How to use CryptoAPI? (7)

[CryptoAPI] How to use CryptoAPI? (8)

2 replies

Last reply 28 Nov 2020

Show thread

Hide thread

Rank: #4185

Ok, thank you, I will download it. This exemple decript the data early encrypted saved on the database?

1

27 Nov 2020

Copy link to comment

MVP

Rank: #131

Replying to Wallace Pimenta's comment on 27 Nov 2020 21:57:38

Yes that's right.

28 Nov 2020

Copy link to comment

MVP

Rank: #122

Hi Wallace Pimenta,

Have you used Try now option? if not, please try.

Thanks.

1

26 Nov 2020

Copy link to comment

Hi Wallace,

I have added a sample to use the encryption and decryption using AES -

1. Created sample components -

[CryptoAPI] How to use CryptoAPI? (13)

2. Added screen action to encrypt the "Data to encrypt" -

[CryptoAPI] How to use CryptoAPI? (14)

[CryptoAPI] How to use CryptoAPI? (15)

You can use any number of bits like 128,256,1024 etc.

[CryptoAPI] How to use CryptoAPI? (16)

[CryptoAPI] How to use CryptoAPI? (17)

[CryptoAPI] How to use CryptoAPI? (18)

[CryptoAPI] How to use CryptoAPI? (19)

3. Output

[CryptoAPI] How to use CryptoAPI? (20)

Please let me know if this helps.

Thanks,

Unnati

3

26 Nov 2020

Copy link to comment

[CryptoAPI] How to use CryptoAPI? (21)

[CryptoAPI] How to use CryptoAPI? (22)

[CryptoAPI] How to use CryptoAPI? (23)

8 replies

Last reply 29 Nov 2020

Show thread

Hide thread

Rank: #4185

I have installed this forge but how can I see this black icons?

26 Nov 2020

Copy link to comment

Rank: #2703

Replying to Wallace Pimenta's comment on 26 Nov 2020 11:14:40

Hi Wallace,

You need to refresh and apply dependencies (Crypto API) and you can found the black icons on logic tab.

[CryptoAPI] How to use CryptoAPI? (26)

1

26 Nov 2020

Copy link to comment

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 -

[CryptoAPI] How to use CryptoAPI? (28)You will get popup -

[CryptoAPI] How to use CryptoAPI? (29)

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.[CryptoAPI] How to use CryptoAPI? (30)

Thanks,

Unnati.

3

26 Nov 2020

Copy link to comment

Rank: #4185

Replying to Unnati Khanorkar's comment on 26 Nov 2020 11:30:21

Thank u, I will check and back here ok?

26 Nov 2020

Copy link to comment

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?

27 Nov 2020

Copy link to comment

Replying to Wallace Pimenta's comment on 27 Nov 2020 02:13:31

You can use the same server actions if you have saved the data by encrypting using crypto api and the generated Key.

2

27 Nov 2020

Copy link to comment

Rank: #4185

Replying to Unnati Khanorkar's comment on 27 Nov 2020 09:43:41

AES Read Key then AES Decrypt?

Could u give me a exemple ?

27 Nov 2020

Copy link to comment

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

29 Nov 2020

Copy link to comment

MVP

Rank: #131

Solution

Hi Wallace,

See the example .OML in attachment.

It is an example similar to what Unnati wrote.

[CryptoAPI] How to use CryptoAPI? (37)

[CryptoAPI] How to use CryptoAPI? (38)

Hope this helps.

Regards.

Teste.oml

27 Nov 2020

Copy link to comment

[CryptoAPI] How to use CryptoAPI? (39)

[CryptoAPI] How to use CryptoAPI? (40)

2 replies

Last reply 28 Nov 2020

Show thread

Hide thread

Rank: #4185

Ok, thank you, I will download it. This exemple decript the data early encrypted saved on the database?

1

27 Nov 2020

Copy link to comment

MVP

Rank: #131

Replying to Wallace Pimenta's comment on 27 Nov 2020 21:57:38

Yes that's right.

28 Nov 2020

Copy link to comment

Rank: #4185

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.

02 Dec 2020

Copy link to comment

[CryptoAPI] How to use CryptoAPI? (44)

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.

16 Sep 2022

Copy link to comment

[CryptoAPI] How to use CryptoAPI? (2024)
Top Articles
Latest Posts
Article information

Author: Duncan Muller

Last Updated:

Views: 5687

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duncan Muller

Birthday: 1997-01-13

Address: Apt. 505 914 Phillip Crossroad, O'Konborough, NV 62411

Phone: +8555305800947

Job: Construction Agent

Hobby: Shopping, Table tennis, Snowboarding, Rafting, Motor sports, Homebrewing, Taxidermy

Introduction: My name is Duncan Muller, I am a enchanting, good, gentle, modern, tasty, nice, elegant person who loves writing and wants to share my knowledge and understanding with you.