How to calculate block hash from signature? [SOLVED]

Hi, now I want to get one block hash.

I via the api “http://127.0.0.1:7890/block/at/public”, {“height”:1850418}. I can get the signature of the block.
From this api I can also get the preBlockHash.

I used code as follwoings: String signature = “5468770c88536f613f8f6c010983b415a73064b37c8393e952a597bc5973f0f89caa332bfc59f2ec2a2df6e0e7c477a34b6cfb99dc055c1f3426fc6f635c3a01”;
byte[] sha3256 = Hashes.sha3_256(Hex.decode(signature));
String blockHash = Hex.toHexString(sha3256);

It’s not the same with the preBlockHash in result via api “http://127.0.0.1:7890/block/at/public",{"height”:1850419}.
So if I want to get the block hash, which is the correct way to calculate the current block hash?

Please continue here: Hash of the latest block via the NIS API