i would like to know how to calculate SHA1 fingerprint in ios swift, i am trying to calculate it on runtime to have some potential checking of integrity of my application. I know macos has some direct APIs to get it but i dont know how can we achieve this in iOS as well. P.S. I am new to iOS development , so please bear with me if i ask some naive questions in this thread.
SHA1 fingerprint calculation(iOS)
i am trying to calculate it on runtime to have some potential checking of integrity of my application.
Before getting into SHA calculation, what specifically are you trying to achieve here? The reason why I am asking is because there are many pitfalls you can run into when trying to perform integrity checks in an application. Because of this it is generally not recommended to perform such integrity checks. Before going down this road you should take a look at using a system framework such as App Attest.
Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
This seems like the same issue we discussed on your other thread. And, by some amazing coincidence, Matt has given you pretty much the same response I did (-:
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"