I have two objects based on which SHA 256 Hash needs to be generated.

First value is a **JSONObject**
Second value is a **String** variable.

Ideally, what i need is

Hash hash= new Hash(JSONObject, String);

I couldn't find any hash generation methods which takes two values.

Could anyone help me with this?.