doc: Setting the encoding to hex before piping the hash
I found out that piping a hash to the stdout output would print a non-hex set of characters, however, the examples are intended to print out a hex-encoded output so, my proposal here is simple, we set the encoding to hex
before piping the response of the hash algo by calling hash.setEncoding('hex');
. With this addition, the example is fixed
My 2 cents!
Thanks,
Victor
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines