I am new in Swift based Vapor backend framework, I just setup the HelloWorld project.
I need to use HMAC SHA256 algorithm to encrypt data. I searched on internet, and found something like this, but they are all based on iOS or OSX framework, which uses C library and can be added by import <CommonCrypto/CommonHMAC.h>
.
How can I add CommonCrypto or HMAC to my Vapor project? If it is impossible, how can I have a pure swift HMAC Sha256 algorithm? Is there such dependency I can add to Package.swift ?