Bitcoin/address validation: Difference between revisions
Content deleted Content added
Update Seed7 example to define the function validBitcoinAddress |
|||
Line 1,910:
private def bitcoinTestHarness(address: String, expected: Boolean): Unit =
assert(validateBitcoinAddress(
private def validateBitcoinAddress(addr:
def sha256(data: Array[Byte]) = {
val md: MessageDigest = MessageDigest.getInstance("SHA-256")
|