openssl sha256 diff
===

I am using openssl 1.0.1c ,  linux x86_64

i am creating file contains "hello" (without new line character)

 - openssl dgst -sha256 hello_file


> i get : *5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03*

---------------------------
If i am using any other online calc ([1][1] , [2][2] , 3  , 4 ,  5 (because of lack of reputation i cant do more hyperlinks)
>i get : *2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824*
 
The most confusing part is if i am trying online calculator with **"hello(new line character)"**
then 
>1 return : *5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03*

and  it is exactly what i am getting with openssl. While all others return

>2, 3, 4 , 5 : *cd2eca3535741f27a8ae40c31b0c41d4057a7a7b912b33b9aed86485d1c84676*

I knew about new line issue with echo, but i didn't knew that each file appended with the new line.**So how can i get sha256 of file without new line character ?** And what is wrong with all other calculators ?

Thanks in advance

Kirill

*****
  [1]: http://www.xorbin.com/tools/sha256-hash-calculator
  [2]: http://hash.online-convert.com/sha256-generator
  3    convertstring.com/Hash/SHA256

  4    webutils.pl/index.php?idx=sha1

  5    quickhash.com