isnt that multisig address ?,
No. It's a P2SH address.
P2SH addresses can have multisig as the script that was used to generate the hash, however there is no requirement that the spender use a multisig script when spending it.
and its diffucult to calculate multiple private keys rather than just one for simple address public key which starts with 1 ?
You wouldn't need to calculate multiple private keys.
You would only need to calculate a SINGLE key pair. Any private/publick key pair at all would work. You don't even need to find the original key (or keys) that were used when creating the address.
Then, you would build a script that uses the public key that you generated and a nonce value. After that, all you have to do is brute force the nonce until the hash of the script (public key + nonce) is equal to the hash used for that address. On average, it should take you approximately 2
159 attempts.
from 1 sha256 private key i can create WIF private key and public kay pair which is
5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm
how would i get p2sh address for something like that ?
or am i missing again something .,
does the p2sh address's private key also falls in
int range
1 - 115792089237316195423570985008687907852837564279074904382605163141518161494336
if so then how can i generate a pair ?
lets say , so far i have these
input : 1
network : Bitcoin mainnet
netcode : BTC
secret exponent : 1
hex : 1
wif : KwDiBf89QgGbjEhKnhXJuH7LrciVrZi3qYjgd9M7rFU73sVHnoWn
uncompressed : 5HpHagT65TZzG1PH3CSu63k8DbpvD8s5ip4nEB3kEsreAnchuDf
public pair x : 55066263022277343669578718895168534326250603453777594175500187360389116729240
public pair y : 32670510020758816978083085130507043184471273380659243275938904335757337482424
x as hex : 79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
y as hex : 483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8
y parity : even
key pair as sec : 0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
uncompressed : 0479be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\
483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8
hash160 : 751e76e8199196d454941c45d1b3a323f1433bd6
uncompressed : 91b24bf9f5288532960ac687abb035127b1d28a5
Bitcoin address : 1BgGZ9tcN4rm9KBzDn7KprQz87SZ26SAMH
Bitcoin address uncompressed : 1EHNa6Q4Jz2uvNExL497mE43ikXhwF6kZm
Bitcoin segwit address : p2y59b9U5YTUAYEDBr5zwSHFoM8pn3ozAhRD