35
Views
2
Comments
How to Import  crypto Js Library
Question

Hi

I want to encrypt my data in this algo "aes-256-cbc" via JS Code, but I am currently facing problems with Import JS Library and encryption. 

Note:

I can use the Crypto API, but I don't have any kind of feature to send keys in my API. so Its is not Feasible Solution 


Thanks

Mansur



2023-12-16 19-57-03
Sanjay Kushwah

Hi @Md Mansur,

Please refer this documentation for importing JS library into your Outsystems application.

Use JavaScript Code from an External Library - OutSystems 11 Documentation 


Kind regards,

Sanjay Kushwah

2024-07-12 05-57-50
Gourav Shrivastava
Champion

@Md Mansur ,

For using the crypto Js Library you need to include the JS code in your screen you can do this in two ways

1) Using CryptoJS Reactive Component

2) Using CDN:- 

  • Go to CDN copy the JS code.
  • On the service center create a script and paste the copied JS code.
  • Go to the screen where you want to use Crypto Js Library and add the JS file you just created.


Thanks

Regards Gourav Shrivastava



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.