generate same symmetric key from password using crypto kit

前端 未结 0 1277
夕颜
夕颜 2020-12-30 13:00

I\'m trying to generate a symmetric key based on a user inputted password. I have the following code:

    let hash = SHA256.hash(data: password.data(using: .u         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题