Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have tested my code on Ubuntu 10.04. The result is same between command line and C code. </p> <pre><code>gary@ubuntu:~/crypto$ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) gary@ubuntu:/usr/local/ssl/bin$ ./openssl OpenSSL&gt; version OpenSSL 1.0.0a 1 Jun 2010 OpenSSL&gt; ^C gary@ubuntu:/usr/local/ssl/bin$ ./openssl OpenSSL&gt; dgst -sha1 /home/gary/crypto/rnddata SHA1(/home/gary/crypto/rnddata)= 34c7dd77ce6fbc56875bca2bd916f42464b9bab0 gcc sha1_test.c -o h1 -I/usr/local/ssl/include -L/usr/local/ssl/lib -l gary@ubuntu:~/crypto$ ./h1 rnddata Read 1024 bytes Read 1024 bytes Read 1024 bytes Read 1024 bytes Read 1024 bytes Read 1024 bytes Read 1024 bytes Read 1024 bytes Read 808 bytes 34c7dd77ce6fbc56875bca2bd916f42464b9bab0 rnddata </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload