在sha256中,我需要一些帮助来防止金钱错误

时间:2014-04-07 02:50:14

标签: key sha256 bitcoin ecdsa

拥有私人ECDSA密钥18E14A7B6A307F426A94F8114701E7C8E774E7F9A47E2C2035DB29A206321725

1 - 获取随其生成的相应公钥0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6

2 - 在公钥600FFE422B4E00731A59557A5CCA46CC183944191006324A447BDB2D98D4B408上执行SHA-256哈希

但是当我在0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6上运行sha256时

我没有

600FFE422B4E00731A59557A5CCA46CC183944191006324A447BDB2D98D4B408

我得到的是

32511e82d56dcea68eb774094e25bab0f8bdd9bc1eca1ceeda38c7a43aceddce

我做错了什么?

1 个答案:

答案 0 :(得分:0)

你必须:

  • 使用SHA-256公钥加入哈希:0450863AD64A87AE8A2FE83C1AF1A8403CB53F53E486D8511DAD8A04887E5B23522CD470243453A299FA9E77237716103ABC11A1DF38855ED6F2EE187E9C582BA6

  • 使用RIPEMD-160密钥进行哈希:600FFE422B4E00731A59557A5CCA46CC183944191006324A447BDB2D98D4B408

哪个应该导致010966776006953D5567439E5E39F86A0D273BEE

enter image description here