Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hash and message doesn’t match after solving the generated instance #5

Closed
ImposterMido opened this issue Oct 7, 2023 · 9 comments

Comments

@ImposterMido
Copy link

First of all sorry of inconvenience and hope you could help me I have encoded a sha256 instance with no M or H assigned then solved it , i took the 1st 512 variables (M) then convert it to binary by taking true variables as 1 and false as 0 then used the 512 bits as input for an online sha256 then took the resultant output in hex and converted it to binary and when i compared it to the variables contribute to H it doesn't match although it must match as the message is fixed , also i tried to convert message into text or hex but both give hash doesn't match the real hash any ideas to solve this problem ?

@ImposterMido
Copy link
Author

Is this due to an error i have done during the getting M and H or is there a certain way to get the message and hash that accurately match the normal sha256 encoding ?

@vsklad
Copy link
Owner

vsklad commented Oct 9, 2023

please kindly provide the message and the hash value, I will look into it
it is supposed to match of course
also, when assigning or interpreting variables please note the ordering is big endian

@ImposterMido
Copy link
Author

ImposterMido commented Oct 9, 2023 via email

@ImposterMido
Copy link
Author

ImposterMido commented Oct 10, 2023 via email

@vsklad
Copy link
Owner

vsklad commented Oct 10, 2023

please note there is no attachment with the last message
please kindly attach/specify:

  1. the instance itself that you are trying to solve
  2. the intended message/hash values
  3. the bits of the instance (message/hash) that you are trying to assign before solving
  4. the solution produced by the solver

@ImposterMido
Copy link
Author

ImposterMido commented Oct 10, 2023 via email

@ImposterMido
Copy link
Author

ImposterMido commented Oct 10, 2023 via email

@ImposterMido
Copy link
Author

ImposterMido commented Oct 10, 2023 via email

@ImposterMido
Copy link
Author

ImposterMido commented Oct 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants