<?php $hi = fopen('php://stdin', "r");$ho = fopen('php://stdout', "w"); while (true) { $n = fscanf($hi, "%s", $a); if ($n != 1) break; fwrite($ho, sprintf("%s = *%s\n", $a, sha1(sha1($a,true))));} fclose($ho);fclose($hi);
trallaa dsafa sdf
trallaa = *3d3b45a9a0f1c1c70eb55cf59bfc367bd64e9521 dsafa = *0a97a2a20463db78c7770c3bdf2f11e503130d16 sdf = *7e1b02628187315a1854df1e4d3a80001fac469c
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!