# Encrypting password details

**URL:** <https://forum.ionicframework.com/t/encrypting-password-details/2814>\
**Category:** ionic-v1\
**Created:** [April 9, 2014, 3:52pm UTC](https://forum.ionicframework.com/t/encrypting-password-details/2814 "2014-04-09T15:52:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrvamsidhar](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@mrvamsidhar](https://forum.ionicframework.com/u/mrvamsidhar)\
**Post date:** [April 9, 2014, 3:52pm UTC](https://forum.ionicframework.com/t/encrypting-password-details/2814/1 "2014-04-09T15:52:57Z")

</div>

Hello, Is there a way to encrypt password details using ionic framework?

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [April 10, 2014, 12:45pm UTC](https://forum.ionicframework.com/t/encrypting-password-details/2814/2 "2014-04-10T12:45:33Z")

</div>

Ionic is really all about the view and data management. It’s nothing to do with encryption. You should probably look into platform specific features for that. For example, iOS has a built-in encryption mechanism for files if configured properly.

Other than that, perhaps look for generic encryption questions related to PhoneGap. It might also be best to not use passwords locally and use token based authentication instead. Lots of such docs on Google and StackOverflow.

Samples :

> [@Log in using Ionic](http://forum.ionicframework.com/t/log-in-using-ionic/1825/3):
>
> You can take a look at an article I just wrote: [http://www.kdmooreconsulting.com/blogs/authentication-with-ionic-and-angular-js-in-a-cordovaphonegap-mobile-web-application/](http://www.kdmooreconsulting.com/blogs/authentication-with-ionic-and-angular-js-in-a-cordovaphonegap-mobile-web-application/)

> [@localStorage and logged-in user](http://forum.ionicframework.com/t/localstorage-and-logged-in-user/2048/9):
>
> Is there any doc or tutorial about refresh token flow and AngularJS? I mean, the right use of http interceptors and headers to detect that token has expired and ask to API for a new one. Thanks!

---

<div class="post-metadata">

**Author:** ![gopimohan](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@gopimohan](https://forum.ionicframework.com/u/gopimohan)\
**Post date:** [November 21, 2017, 8:57am UTC](https://forum.ionicframework.com/t/encrypting-password-details/2814/3 "2017-11-21T08:57:25Z")

</div>

did you solved this problem. if so let me know how you did so that will be help full
