assert() only does something in debug builds, so the hash was never really checked. The Log.e line might be reduntant.