# How to Verify by Hash that New Deployment is Identical to One at Different Canister?

**URL:** <https://forum.dfinity.org/t/how-to-verify-by-hash-that-new-deployment-is-identical-to-one-at-different-canister/32650>\
**Category:** Developers\
**Created:** [July 3, 2024, 6:16am UTC](https://forum.dfinity.org/t/how-to-verify-by-hash-that-new-deployment-is-identical-to-one-at-different-canister/32650 "2024-07-03T06:16:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![javid](https://avatars.discourse-cdn.com/v4/letter/j/46a35a/32.png) [@javid](https://forum.dfinity.org/u/javid)\
**Post date:** [July 3, 2024, 6:16am UTC](https://forum.dfinity.org/t/how-to-verify-by-hash-that-new-deployment-is-identical-to-one-at-different-canister/32650/1 "2024-07-03T06:16:19Z")

</div>

Hello everyone,

I have a question regarding verifying deployments in the Internet Computer. Specifically, I want to ensure that a new deployment is identical to one already deployed on a different canister. Is there a recommended way to use hashes to perform this verification? If so, what steps should I follow to generate and compare these hashes to confirm the integrity and identical nature of the two deployments?

Any guidance or detailed instructions would be greatly appreciated!

Thank you!

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [July 3, 2024, 8:22am UTC](https://forum.dfinity.org/t/how-to-verify-by-hash-that-new-deployment-is-identical-to-one-at-different-canister/32650/2 "2024-07-03T08:22:11Z")

</div>

`dfx canister info` shows the hash of the wasm that is installed in the canister. If this hash matches between two deployments then they run the same code.

If you want to include state or init values in your verification you need to do this on the application level
