diff --git a/tp_2_miso_mphf.py b/tp_2_miso_mphf.py
index 960be8eb2ddfc7b52cca66bc88fc066527529651..dfefdab1fa14ce0d2001d05918e943cd69a19c1d 100644
--- a/tp_2_miso_mphf.py
+++ b/tp_2_miso_mphf.py
@@ -98,7 +98,12 @@ def get_hash_mphf(mphf, kmer):
 	>>> 0 <= hash_mphf < n
 	True
 	"""
-	pass # TODO modifier
+	h = abs(hash(kmer))
+	for pair in mphf:
+		if pair[0] == h:
+			return pair[1]
+	return None
+
 
 def create_hash_table(set_kmer, n):
     """