Bitcoin/address validation: Difference between revisions
Content deleted Content added
mNo edit summary |
m actually RIPEMD-160 is not needed for address validation |
||
Line 3: | Line 3: | ||
Write a program that takes a [[wp:bitcoin|bitcoin address]] as argument, and checks whether or not this address is valid. The program can either return a boolean value or throw an exception when not valid. |
Write a program that takes a [[wp:bitcoin|bitcoin address]] as argument, and checks whether or not this address is valid. The program can either return a boolean value or throw an exception when not valid. |
||
You can use digest |
You can use a digest library for [[SHA-256]]. |
||
==Unix shell== |
==Unix shell== |