How to implement password protection for individual files?

后端 未结 5 1317
时光取名叫无心
时光取名叫无心 2020-11-30 02:40

I\'m writing a little desktop app that should be able to encrypt a data file and protect it with a password (i.e. one must enter the correct password to decrypt). I want th

5条回答
  •  生来不讨喜
    2020-11-30 03:03

    If you are using a strong hash algorithm (SHA-2) and a strong Encryption algorithm (AES), you will do fine with this approach.

提交回复
热议问题