How can I encrypte my password - Android Studio

前端 未结 3 864
半阙折子戏
半阙折子戏 2021-02-02 17:57

does someone know how to encrypte the password which the user add`s into the password field?

I tried this tutorial but I didn\'t get it work.

https://gist.githu

3条回答
  •  半阙折子戏
    2021-02-02 18:58

    Quote this post Difference between Hashing a Password and Encrypting it I would recommend you to use hashing (no encrypting) to store passwords. You can use i.e. md5 (not reccomend), sha1, sha2...

    Exampled implementation of SHA1: How to SHA1 hash a string in Android?

提交回复
热议问题