Yngvarr

Generation

generate functionSun, 29 Jan 2023

personal hash

<?php function personal_hash($string){ $hash = null; $key = "a1b2c3d4"; for ($i = 0; $i < strlen($string); ++$i) { $hash .= $string[$i] . $key[$i]; } return $hash; } ?>

Questions about programming?Chat with your personal AI assistant