         case .SHA224: return Int(HMAC_bridge_SHA224_DIGEST_LENGTH)
         }
     }
+    
+    var bridgedValue: HMAC_bridge_Algorithm {
+        switch self {
+        case .SHA1: return .SHA1
+        case .MD5: return .MD5
+        case .SHA256: return .SHA256
+        case .SHA384: return .SHA384
+        case .SHA512: return .SHA512
+        case .SHA224: return .SHA224
+        }
+    }
 }

    
    private init(algorithm: Algorithm, key: UnsafePointer<Void>, keyLength: Int) {
        self.algorithm = algorithm
        HMAC_bridge_Init(context, algorithm, key, UInt(keyLength))
    }
    
    public func update(string: String) -> HMAC {

    }
}

extension HMAC.Algorithm {
    var digestLength: Int {
        switch self {
        case .SHA1: return Int(HMAC_bridge_SHA1_DIGEST_LENGTH)
