struct Base58::Check

Overview

Use this structure to specify that some form of checksumming should be used with the encoding or the decoding.

Base58.encode("some data", check: Base58::Check.new(:Base58Check, "\x31"))

Defined in:

base58/check.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(prefix : String = "1", checksum_prefix : String = "", type : Checksum = :Base58Check, checksum_length : Int32 = 4) #

Instance Method Detail

def checksum_length : Int32 #

def checksum_prefix : String #

def clone #

def copy_with(prefix _prefix = @prefix, checksum_prefix _checksum_prefix = @checksum_prefix, type _type = @type, checksum_length _checksum_length = @checksum_length) #

def prefix : String #

def type : Checksum #