title: Can I generate a SHA1 in Perl or PHP?
body: <p>Verotel requires some data to be hashed with sha1_hex function. What exactly is it? No info about it in the whole internet. They say "SHA-1 hash is used (hexadecimal output)". Sha1 with hex output? </p>
  
  <p>Heres one example which I can't seem to reproduce:</p>
  
  <blockquote>
    <p>sha1_hex("abc777X:description=some description of product:priceAmount=51.20:priceCurrency=EUR:shopID=60678:version=1")</p>
    
    <p>=  04d87d2718767ea0bef259c436ec63e3cde05be2</p>
  </blockquote>