# Functions related to encrypt and decrypt

**URL:** https://community.haxe.org/t/functions-related-to-encrypt-and-decrypt/3987
**Category:** Haxe
**Tags:** haxe-cpp
**Created:** [July 2, 2023, 4:39pm UTC](https://community.haxe.org/t/functions-related-to-encrypt-and-decrypt/3987 "2023-07-02T16:39:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ccpplinux](https://community.haxe.org/user_avatar/community.haxe.org/ccpplinux/32/2208_2.png) [@ccpplinux](https://community.haxe.org/u/ccpplinux)
#### Post date: [July 2, 2023, 4:39pm UTC](https://community.haxe.org/t/functions-related-to-encrypt-and-decrypt/3987/1 "2023-07-02T16:39:23Z")

</div>

Hi,  
Is there any function in Haxe using which I can encrypt and decrypt a string in my program? If yes then what is the name of that function? Please also send me their documentation details.

Best Regards …  
Pankaj Kumar

---

<div class="post-metadata">

### Author: ![Confidant](https://community.haxe.org/user_avatar/community.haxe.org/confidant/32/63_2.png) [@Confidant](https://community.haxe.org/u/Confidant)
#### Post date: [July 3, 2023, 3:02am UTC](https://community.haxe.org/t/functions-related-to-encrypt-and-decrypt/3987/2 "2023-07-03T03:02:16Z")

</div>

Hi Pankaj, please have a look at haxe.crypto: [haxe.crypto - Haxe 4.3.1 API](https://api.haxe.org/haxe/crypto/index.html)  
There are also a few other libraries: [Search for "crypto"](https://lib.haxe.org/search/?v=crypto)  
You will see there are many functions to use, depending on the type of encryption you want.
