Download and verify hash.keys
For more details on the secret keys see secrets
Verify that the secret used hashes to the hash listed for for 2012-07-20 in hash.keys
sha256(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N) -> 4af6d6551aa54caf0676c01e15b74e849996fa29ffc99ab8b0ef4b2e579559b3
Verify that the hmac sha512 with secret and transaction_id hash to the bet hash
hmac_sha512(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N,35653406c7b0ac34d4380717cba266c11ad5b2b62d99d684b19546d437df4b67) -> b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 hmac512
Verify that the first bytes of the bet hash above is the lucky number
b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 -> b6ee -> 46830
Download and verify hash.keys
For more details on the secret keys see secrets
Verify that the secret used hashes to the hash listed for for 2012-07-20 in hash.keys
sha256(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N) -> 4af6d6551aa54caf0676c01e15b74e849996fa29ffc99ab8b0ef4b2e579559b3
Verify that the hmac sha512 with secret and transaction_id hash to the bet hash
hmac_sha512(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N,35653406c7b0ac34d4380717cba266c11ad5b2b62d99d684b19546d437df4b67) -> b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 hmac512
Verify that the first bytes of the bet hash above is the lucky number
b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 -> b6ee -> 46830
Download and verify hash.keys
For more details on the secret keys see secrets
Verify that the secret used hashes to the hash listed for for 2012-07-20 in hash.keys
sha256(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N) -> 4af6d6551aa54caf0676c01e15b74e849996fa29ffc99ab8b0ef4b2e579559b3
Verify that the hmac sha512 with secret and transaction_id hash to the bet hash
hmac_sha512(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N,35653406c7b0ac34d4380717cba266c11ad5b2b62d99d684b19546d437df4b67) -> b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 hmac512
Verify that the first bytes of the bet hash above is the lucky number
b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 -> b6ee -> 46830
Download and verify hash.keys
For more details on the secret keys see secrets
Verify that the secret used hashes to the hash listed for for 2012-07-20 in hash.keys
sha256(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N) -> 4af6d6551aa54caf0676c01e15b74e849996fa29ffc99ab8b0ef4b2e579559b3
Verify that the hmac sha512 with secret and transaction_id hash to the bet hash
hmac_sha512(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N,35653406c7b0ac34d4380717cba266c11ad5b2b62d99d684b19546d437df4b67) -> b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 hmac512
Verify that the first bytes of the bet hash above is the lucky number
b6eed7030940d3f46c5ee9b817f71dff4b6eee48f773a2fdfc82db184013cbb0 -> 7b57 ->
SNS Message:
{
"Type" : "Notification",
"MessageId" : "f728b5d1-8585-4412-a7df-362c9b4843fa",
"TopicArn" : "arn:aws:sns:eu-west-1:534655317387:satoshidice-sighash",
"Message" : "35653406c7b0ac34d4380717cba266c11ad5b2b62d99d684b19546d437df4b67",
"Timestamp" : "2012-07-20T01:35:53.432Z",
"SignatureVersion" : "1",
"Signature" : "b/83BMCB6WWWMWmeNPCC7ukcBxCeZ6/frll9RPoJH1DvKKQ81NBVnbHm0jE0THdQ6nUxd1nzag0l7iKS8eiM4cWeWObDbWTuEnYgpDAGV/ILAqpv39SgFfINUTS10WVLImMmOFvbFZaYi9p/YNpXK4PlikD5IcmPevB/M7Nyrig=",
"SigningCertURL" : "https://sns.eu-west-1.amazonaws.com/SimpleNotificationService-f3ecfb7224c7233fe7bb5f59f96de52f.pem",
"UnsubscribeURL" : "https://sns.eu-west-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-west-1:534655317387:satoshidice-sighash:ff7ee833-8e7d-4b63-bde5-8be7520ca53a"
}Verify that the signature hashes to the signature hash
sha256(b/83BMCB6WWWMWmeNPCC7ukcBxCeZ6/frll9RPoJH1DvKKQ81NBVnbHm0jE0THdQ6nUxd1nzag0l7iKS8eiM4cWeWObDbWTuEnYgpDAGV/ILAqpv39SgFfINUTS10WVLImMmOFvbFZaYi9p/YNpXK4PlikD5IcmPevB/M7Nyrig=) -> fb0304e72fa11197d3e66da6fb6a6e055fa957d4a44952299f6050338ab296fe sha256
SNS Sig Hash: fb0304e72fa11197d3e66da6fb6a6e055fa957d4a44952299f6050338ab296fe
hmac_sha256(fb0304e72fa11197d3e66da6fb6a6e055fa957d4a44952299f6050338ab296fe, 35653406c7b0ac34d4380717cba266c11ad5b2b62d99d684b19546d437df4b67) -> 9532a49ab45790c7a9543e56667e6d3d394ad10057ae3a0507d7cec0e9f57b67 hmac256
hmac_sha512(1ZFNujtEfiKhvPUhyHm4Ue1ux4pxTl5wa0UbQf7MhJF6mCvwpJHN7mOwiiL3Z91N,9532a49ab45790c7a9543e56667e6d3d394ad10057ae3a0507d7cec0e9f57b67) -> 7b579ae086e18e6f53f2dbfbf2708c5806a8fc3593dd9689898b97d3bca47cb0 hmac512