I want to know how to convert this php function into Ruby on Rails :
<?php print_r(sha1($messageHash, true)); ?>
The output should be the same in both languages. I can use SHA1 encoding in ruby but don't know how to get the raw_output
raw_output
Aucun commentaire:
Enregistrer un commentaire