added verify for byte array hash
added hex string output