Bir md5 hash (1 ile 9 arasında) bir sayı atama

0 Cevap php

: Böyle bir md5 hash sahip

md5("test") = "098f6bcd4621d373cade4e832627b4f6"

How can I write a function to return a number between 1 and 9 every time I pass the md5 hash to it? The number must always be the same, i.e. myfunc("098f6bcd4621d373cade4e832627b4f6") should always return the same number. Thanks for your help.

0 Cevap