How can I compute a SHA-2 (ideally SHA 256 or SHA 512) hash in iOS? How can I compute a SHA-2 (ideally SHA 256 or SHA 512) hash in iOS? ios ios