Talk:Bitcoin/address validation: Difference between revisions

add Base58Check section
(add Base58Check section)
 
(3 intermediate revisions by 2 users not shown)
Line 24:
 
:::::Indeed there is barely any crypto in this task, apart from the use of sha-256. It mainly consists in big integer arithmetic (and somehow the C code manages not to use big integer, I have to check it out) and byte string manipulations.--[[User:Grondilu|Grondilu]] 11:25, 29 November 2012 (UTC)
 
===C-based code (and possibly others) improperly validates===
Much of the code here does not check to make sure that the bitcoin addresses are 25-bytes. Hence, testing using the C-based code shows that it validates the invalid six-character bitcoin address "BZbvjr". However, trying to send to this address using the standard bitcoin client will naturally produce an error. I have edited the Perl implementation to make it work correctly, but someone who is a better coder than I should do it for the other languages too. [[User:Schulwitz|Schulwitz]] ([[User talk:Schulwitz|talk]]) 22:57, 21 October 2014 (UTC)
: The PHP code, C code, and probably many more of these snippets are incomplete implementations. I have added a warning at the top of the page to indicate this, as this page is linked to from [https://en.bitcoin.it/wiki/Address#Address_validation the bitcoin wiki]. [[User:Kale|Kale]] ([[User talk:Kale|talk]]) 11:19, 12 September 2015 (UTC)
 
== Base58Check encoding algorithm ==
 
This algorithm, "address validation", is not so popular... Is difficult to change its status of "snippets are incomplete".
 
It uses another algorithm inside it, that is simpler and popular, the [https://en.bitcoin.it/wiki/Base58Check_encoding Base58Check encoding algorithm]. So, creating it: [[Base58Check encoding]].
 
--[[User:Krauss|Krauss]] ([[User talk:Krauss|talk]]) 08:43, 13 July 2017 (UTC)
Anonymous user