Bitcoin/address validation: Difference between revisions

Content added Content deleted
m (→‎{{header|Perl}}: adding a bit of explanation in the code)
Line 110: Line 110:


sub check_bitcoin_address {
sub check_bitcoin_address {
# do nothing if the address is valid
# does nothing if the address is valid
# dies otherwise
# dies otherwise
use Digest::SHA qw(sha256);
use Digest::SHA qw(sha256);