HMAC is slightly complex as it was not yet ported to pure Swift Can be complied and run as echo '#import <CommonCrypto/CommonCrypto.h>' > bridge.h swiftc examples/signature.swift -import-objc-header bridge.h ./signature