I'm looking for a for a way to generate a md5 hash (or equivalent 32 character) string using only the security module in Xcode 8 with Swift 3. In other words a method that does not require CommonCrypto.
I've only found one post that mentions this approach. This post claims this approach is only for OS X (not iOS).
I know md5 is not super secure but I need compatibility with an older site, so assistance would be greatly appreciated.