Post

Replies

Boosts

Views

Activity

Reply to import CryptoKit seems to not work in playground Xcode 13.2.1
Seeing the same issue with macOS 12.0.1 and Xcode 13.2 in a playground! Even when doing a macOS playground with Foundation instead of UIKit. Was trying to use a MD5 hash like so:    private func MD5(string: String) -> String {     return Insecure       .MD5       .hash(data: string.data(using: .utf8) ?? Data())       .map { String(format: "%02hhx", $0) }       .joined()   }
Jan ’22