What is the unsigned range of a bytes32 type in Solidity?
I'm wondering the total number of unique expressible combinations. I'm assuming it is 2^8^32
.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityWhat is the unsigned range of a bytes32 type in Solidity?
I'm wondering the total number of unique expressible combinations. I'm assuming it is 2^8^32
.
You are correct bytes32
has 32 bytes, each byte has 256 combination then you will have 256×256×..{32 veces}..×256 = 256^32 = (2^8)^32
possible combinations total.