Bitcoin Forum
May 09, 2024, 01:09:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Please help me understand encrypted information about Blockchain  (Read 191 times)
chegmarco (OP)
Jr. Member
*
Offline Offline

Activity: 56
Merit: 10


View Profile
July 13, 2019, 11:25:20 AM
Last edit: July 13, 2019, 11:42:57 AM by chegmarco
 #1

Hello.

I would like to know how to recognize on the Blockchain website the following informations:

1 - SHA2 hashes of the plaintext ?
2 - Base64 Encoding of Signatures ?

In fact, I'm studying Blockchain and how it works. So help me to understand by giving me if it is possible by CAPTURE OF SCREEN how to recognize this information (SHA2 hashes of the plaintext and Signatures encoded in base64) on the website of the Blockchain.

Thank you in advance.
1715216950
Hero Member
*
Offline Offline

Posts: 1715216950

View Profile Personal Message (Offline)

Ignore
1715216950
Reply with quote  #2

1715216950
Report to moderator
1715216950
Hero Member
*
Offline Offline

Posts: 1715216950

View Profile Personal Message (Offline)

Ignore
1715216950
Reply with quote  #2

1715216950
Report to moderator
1715216950
Hero Member
*
Offline Offline

Posts: 1715216950

View Profile Personal Message (Offline)

Ignore
1715216950
Reply with quote  #2

1715216950
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715216950
Hero Member
*
Offline Offline

Posts: 1715216950

View Profile Personal Message (Offline)

Ignore
1715216950
Reply with quote  #2

1715216950
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6631


Just writing some code


View Profile WWW
July 13, 2019, 04:27:11 PM
Merited by bones261 (2), bob123 (2), ABCbits (1)
 #2

First of all, there is no "the website of the blockchain". The blockchain does not have a website nor is there any official website for exploring it. There are many blockchain explorers each of which can give you a slightly different view of the same information.

Secondly, nothing is encrypted in the Bitcoin blockchain. There aren't "SHA2 hashes of the plaintext". There aren't "base64 encodings of signatures". Signatures aren't encoded in base64 and nothing is encrypted in Bitcoin.

Blockchain explorers will typically show you the transaction id for all transactions. This transaction id is the double SHA256 of the transaction. Perhaps that is the "SHA2 of the plaintext" that you are referring to?

Signatures are encoded using DER encoding and their byte values are just written directly to a transaction, it is not encoded in base64. You will find signatures in most transaction inputs, but signatures are not guaranteed to be located in the same place in every transaction, so you can't just look for the same byte offset in every input to find the signatures. In general, a signature will be 71 or 72 bytes long and begin with the byte 0x30. You can look for things that look like that in transaction inputs to find signatures. However many block explorers also won't show you the signatures unless you enable some sort of advanced mode.

shadow12348
Newbie
*
Offline Offline

Activity: 17
Merit: 15


View Profile
July 30, 2019, 07:19:52 PM
 #3

As @achow101 said, there is no website of the blockchain. Here's a crass overview.

Block explorers give you information about blocks, that contain transactions.

You can uniquely identify a block by it's block hash (Not transmitted between nodes) that is a double SHA256 hash of the block header.

The block header is an 80 byte field that is a concatenation of information in a block, namely - Version, previous block hash, merkle root (Hierarchical hash of transaction hashes - broadly), timestamp, difficulty and nonce.

Traditionally, legacy bitcoin addresses are encoded by computing RIPEMD160(SHA256(Public Key)) and encoding with Base58Check. Newer form addresses (Segwit & Bech32) use different encoding schemes.

Standard bitcoin scripts use DER encoded signatures not base64.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!