 
      - Returns: The calculated hash value.
     */
-    static func hash(message: [UInt8], method: HashMethod) -> [UInt8] {
+    public static func hash(message: [UInt8], method: HashMethod) -> [UInt8] {
         return method.hash(message)
     }
 


    - returns: The calculated code value.
    */
    static func authenticate(message: [UInt8], key: [UInt8], method: MACMethod) -> [UInt8] {
        return method.authenticate(message, key: key)
    }


import Foundation

// MARK: hash functions
private typealias MD5Impl = MD5
private typealias SHA1Impl = SHA1
private typealias SHA2Impl = SHA2

/**
 Hash Methods.
