I'm coding an app using xcode and swift 3.1
I need to create hmac sha512 hash for my api call to the server.
I konw there are various frameworks like CryptoSwift that provide us with such feature. 
However I am interested to know if it's possible in native xcode / swift 3.1 without the use of any libraries or frameworks.
If not then why not?
Also, if I do need to use the library, what's the minimal method to get hmac sha512 based library code only? 
Thanks.
 
    