 
      - 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: String, key: String, method: MACMethod) -> String {
        return method.authenticate(message, key: key)
    }


}

// MARK: message authentication codes
private typealias HMACImpl = HMAC

/**
 Message Authentication Codes (MAC).
