How does openssl perform hashing on stdin when multiple inputs are provided?
For example if the command entered is:
openssl {enter}
sha256 {enter}
foo {enter}
bar {enter}
foobar {enter}
ctrl + d
The resulting hash I'm receiving is 3e76042553dc7a71401dea0cd9b0b38b but that doesn't match any of the hashes that result from the individual words themselves when run separately.
foo - d3b07384d113edec49eaa6238ad5ff00
bar - c157a79031e1c40f85931829bc5fc552
foobar - 14758f1afd44c09b7992073ccf00b43d
How does that work?