问题
I want to make an unique string or hash via Touch ID on iPhones in Swift. I search a lot about it but I didn't find a solution to make it.
回答1:
you can NOT do this.
you can use universally unique identifier (UUID) of an ios Device.
let uuid = NSUUID().UUIDString
or generate your own unique identifier using irreversible algorithms.
来源:https://stackoverflow.com/questions/34123092/generating-hash-or-string-via-touchid-in-swift