BITCOIN SCRIPT: Write the bitcoin ScriptPubKey script for a transaction that can be redeemed by anybody who supplies a square root of 1764?

0

Bitcoin script: For the following questions, you're free to use non-standard transactions and op codes that are currently disabled. You can use as a shorthand to represent data values pushed onto the stack. For a quick reference, see here: https://en.bitcoin.it/wiki/Script a. Write the Bitcoin ScriptPubKey script for a transaction that can be redeemed by anybody who supplies a square root of 1764. Write a corresponding ScriptSig script to redeem your transaction. Suppose you wanted to issue a new RSA factoring challenge by publishing a transaction that can be redeemed by anybody who can factor a 1024-bit RSA number (RSA numbers are the product of two large, secret prime numbers). What difficulties might you run into?

enter image description here

user92491

Posted 2019-02-23T03:24:00.447

Reputation: 1

2This looks like homework. At least, it seems to have been taken from another source without attribution. Please state the source.Nate Eldredge 2019-02-23T03:41:59.097

There’s no secure way of doing that anyway. The funds can be stolen while unconfirmed and you can do nothing about it.Anonymous 2019-02-23T03:55:30.570

Answers

1

decodescript 769502e40687
{
  "asm": "OP_DUP OP_MUL 1764 OP_EQUAL",
  "type": "nonstandard",
  "p2sh": "3JQspThZ3pAdZZjUfb6hni5f8rW9yYonJv"
}

https://bchsvexplorer.com/address/3JQspThZ3pAdZZjUfb6hni5f8rW9yYonJv

amaclin

Posted 2019-02-23T03:24:00.447

Reputation: 5 763

2Shorter: 012a87. Neither is a meaningful script of course, but they have the same semantics.Pieter Wuille 2019-02-23T12:01:02.610

@Pieter, isn't it a Ultimate Question of Life, The Universe, and Everything? :)))))amaclin 2019-02-23T12:10:05.953