             return (ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7],
                     ptr[8], ptr[9], ptr[10], ptr[11], ptr[12], ptr[13], ptr[14], ptr[15])
         }
-    }
-}
-
-
-public extension Data {
-
-    /// Computes md5 digest value of the contained bytes.
-    var md5: MD5Digest {
-        return MD5Digest(from: self)
-    }
-}
-
-
-public extension String.UTF8View {
-
-    /// Computes md5 digest value of the string's UTF-8 representation.
-    var md5: MD5Digest {
-        return MD5Digest(from: Data(self))
     }
 }
 

// SwiftDigest | MD5Digest
// Copyright (c) 2017 Nikolai Ruhe
// SwiftDigest is released under the MIT License

import Foundation


/// MD5Digest represents a 16 byte digest value, created from hashing arbitrary data.

/// It conforms to ...
///
/// * `Equatable`, to make comparison to other values easy.
/// * `Hashable`, so it can be used as a key in dictionaries or in sets.
/// * `RawRepresentable`, to convert to and from string representations
/// * `CustomStringConvertible`, to make printing easy
/// * `Codable` to enable JSON and Plist coding of types containing a digest property
///
/// - Copyright: Copyright (c) 2017 Nikolai Ruhe.

