struct

Base58::Check

Inherits Struct / Value / Object

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"))

Constructors

new(prefix : String = "1", checksum_prefix : String = "", type : Checksum = :Base58Check, checksum_length : Int32 = 4)
Source

Instance methods

checksum_length
checksum_prefix
clone
Source
copy_with(prefix _prefix = @prefix, checksum_prefix _checksum_prefix = @checksum_prefix, type _type = @type, checksum_length _checksum_length = @checksum_length)
Source
prefix
type