# SHA 256 decryption

**URL:** <https://forum.ionicframework.com/t/sha-256-decryption/136034>\
**Category:** meta\
**Created:** [July 24, 2018, 6:34am UTC](https://forum.ionicframework.com/t/sha-256-decryption/136034 "2018-07-24T06:34:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nirmalya-S](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nirmalya-s/32/123358_2.png) [@Nirmalya-S](https://forum.ionicframework.com/u/Nirmalya-S)\
**Post date:** [July 24, 2018, 6:34am UTC](https://forum.ionicframework.com/t/sha-256-decryption/136034/1 "2018-07-24T06:34:32Z")

</div>

I’m using AES(128 bit) method in Crypto js for my Ionic app [ionic-angular: 3.9.2]. Now the user want SHA 256 method for storing and sending data. Is there a decrypt method for SHA 256? If not, then please suggest a good option for Encrypt and Decrypt data in 256 bit?

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [July 24, 2018, 8:35am UTC](https://forum.ionicframework.com/t/sha-256-decryption/136034/2 "2018-07-24T08:35:03Z")

</div>

> [@Nirmalya-S](#):
>
> please suggest a good option for Encrypt and Decrypt data in 256 bit?

I would suggest hiring somebody that knows what they are talking about. Encryption is the worst possible place for amateur hour.

---

<div class="post-metadata">

**Author:** ![nirman99](https://avatars.discourse-cdn.com/v4/letter/n/f19dbf/32.png) [@nirman99](https://forum.ionicframework.com/u/nirman99)\
**Post date:** [July 26, 2018, 1:36am UTC](https://forum.ionicframework.com/t/sha-256-decryption/136034/3 "2018-07-26T01:36:56Z")

</div>

SHA256 is hashing. It is not encryption. So there is no decryption. You may use AES256 but you have to keep the key safe.

---

<div class="post-metadata">

**Author:** ![Nirmalya-S](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nirmalya-s/32/123358_2.png) [@Nirmalya-S](https://forum.ionicframework.com/u/Nirmalya-S)\
**Post date:** [July 26, 2018, 6:18am UTC](https://forum.ionicframework.com/t/sha-256-decryption/136034/4 "2018-07-26T06:18:26Z")

</div>

Thanks for the suggestion. Could you please give a example on AES256 with a Private key?

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [July 26, 2018, 9:16am UTC](https://forum.ionicframework.com/t/sha-256-decryption/136034/5 "2018-07-26T09:16:31Z")

</div>

Again, please stop.

Tell whoever is in charge of this project that they need to hire somebody with cryptography expertise. This is not something that you can fake your way through, and the further you go down this road, the worse things are going to turn out for everybody involved.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:29pm UTC](https://forum.ionicframework.com/t/sha-256-decryption/136034/6 "2021-07-19T21:29:01Z")

</div>

Closed on July 19, 2021, 9:29pm UTC


