Built In function "Encrypt"

Built In function "Encrypt"

Hello, I'm using the built in function "Encrypt" to save password for users. Now, I need to authenticate users in a custom C# app, that connects to Outsystems database and compare login and password. Is there a way to compare the "Encrypt" result in C#?

Thanks, Tomás
Hi Tomás,

I believe you can use OutSystems.HubEdition.RuntimePlatform.BuiltInFunction.Encrypt().

Tiago Simões
Hi Tiago.

Thanks for the quick reply. It works.

That is exactly what I need.

Thank you and best regards,
Can you please tell how to use OutSystems.HubEdition.RuntimePlatform.BuiltInFunction.Encrypt().

What are the reference to be add and  how to proceed?

Hi Devaraj,

There is no reference to be added.

It's used in the Expression editor, and it can be found in the folder Built-in Functions > Miscellaneous, if I'm not mistaken.

You can learn more about its usage in the help section.


Paulo Tavares
sorry i m not asked my question clearly.
how to use "Encrypt" function in .Net and to access the Outsystem DB.

i add the reference

and used OutSystems.HubEdition.RuntimePlatform.BuiltInFunction.Encrypt().Now its working


This topic save my life. Thank you guys.