Best practices for encrypting and decrypting passwords? (C#/.NET)

前端 未结 9 1664
醉梦人生
醉梦人生 2021-02-12 12:26

I need to store and encrypt a password in a (preferably text) file, that I later need to be able to decrypt. The password is for another service that I use, and needs to be sent

9条回答
  •  感动是毒
    2021-02-12 13:17

    One of the most important thing is the permissions on the file. Even if the content is encrypted you need to make sure that only the processes that need access to the file can read it.

提交回复
热议问题