mam takie coś
<form method="post" action=""> <p>Key to hash: <input type="text" name="key" /> <button type="submit">Submit</button></p> </form> <?php $key = $_POST['key']; foreach (hash_algos() as $algo) { echo '<li><strong>', $algo, ':</strong> <input type="text" value="', hash($algo, $key), '" onclick="this.select();" /></li>'; } } else { } ?>
i generuje mi wszystkie kody a ja chce tylko SHA1 hmm nie mam pomysłu co tu zmienić... może ktoś pomoże ?