calculates SHA512 using libCommonCrypto instead of shasum