# sha256

sha256() function is the Standard function available in 200OK.

**Description** : The fx\_sha256 function computes the SHA256 hash of the input string, resulting in a 64-character hexadecimal representation. This cryptographic hash function provides a secure means of encryption and data integrity verification.

**Syntax** : fx\_sha256(string)

**Example** : when applied to the string 'data', fx\_sha256('data') returns '3a6eb0790f39ac87c94f3856b2dd2c5d110e6811602261a9a923d3bb23adc8b7'.

\
Here we go with simple scenario using the above function.

**Scenario** : In a cybersecurity application, sensitive information undergoes a secure hashing process to safeguard against unauthorized access or tampering. Utilizing a cryptographic hash function, the system converts input strings into a fixed-size hash value, enhancing data integrity and confidentiality. For instance, applying the hashing algorithm to the string 'data' yields a 64-character hexadecimal representation, fortifying data security protocols.

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/DUnyzR21qZSSBSRJNTP29vG2TbbrYOy3T0wXX5zwpfDT4zcgCl72f4cmrCSKlCogWXX-s0Wr5aSRmOFv7ABkgjQthPw7eDDWUXJ2tkr9jL172dppKWU2ePgboo77Iw3ok1qAlYJIz5u9dqqPjL3Udfg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/rIwfBeq_2oTua9VzXtYXTB0r0xQ15uqeXQ8PS_JJNh505ITKpjfdpPFbNabiUhhwL23zPSIBkeohMxfbB_VI3ynDy_irg4M6JAtwE8Dh_qQC_tjc26xt1edyRNRg3k4xMM_Wbptr8sOL3HUktlwfFnY" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/ZNgS52T31NxdOD7VFuoZFl8yG-hikYzaYzpUL734x6KmZMpjBgCqKJT-AdRTRM0ps5pvRBSL9d86qQmEzgw4GV5CHmC0HweegFhXpyeAdDvRqoq-MMUFTrJHIkNpfXY83PR7nQSSLoKvsNlEbDQS5tc" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/gUkihNc0vBazqD5DQohV8P1ZRfyT585i96SCrjsUcdRBXWm1Dx_Wkau287j8GvinRIbzFibz1KBkyiuEn4TqlAAMCKVG4FMcCe4e0gJ5ReMr_9z2CxH9Fb_cTf7dVKy9pP-zVhJwu5kTykH4nDZJhaw" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/7sAwHIyFDkJY6Cg02_VpaM6bBjH4MO_dle_ZE8dwsJ9S3sqhDp6INwxIpBXOTwuNHwm4chWNmenqkqT_GxyCMXqbs3iDrrG6ncSMSZvpl9zaz01gjvbMc071Y6UVPx1gqvlwLCDttjxiOseBy4Uh3hs" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/tN5_Vs05jAbeDEIQPm8xQaaOISWb-a5z6gf3R7KI3v--1MVZRuK2xG_7-9ziYJwY1f-yZSgTsVpFQgpoPhaAXqseknrXDUdr_TGDfQK3YG1T7PtyJSv6wW9wbwAdt9Wf4RQKZEEDpIdYSrZpZjJf3yE" alt=""><figcaption></figcaption></figure>
