Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Swift System Is Now Open Source. Parent comment
extension String { var md5: String { let computed = Insecure.MD5.hash(data: self.data(using: .utf8)!) return computed.map { String(format: "%02hhx", $0) }.joined() } }
There are no comments on this comment yet.
extension String { var md5: String { let computed = Insecure.MD5.hash(data: self.data(using: .utf8)!) return computed.map { String(format: "%02hhx", $0) }.joined() } }