struct Base58::Check
- Base58::Check
- Struct
- Value
- Object
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.crConstructors
Instance Method Summary
- #checksum_length : Int32
- #checksum_prefix : String
- #clone
- #copy_with(prefix _prefix = @prefix, checksum_prefix _checksum_prefix = @checksum_prefix, type _type = @type, checksum_length _checksum_length = @checksum_length)
- #prefix : String
- #type : Checksum
Constructor Detail
def self.new(prefix : String = "1", checksum_prefix : String = "", type : Checksum = :Base58Check, checksum_length : Int32 = 4)
#
Instance Method Detail
def copy_with(prefix _prefix = @prefix, checksum_prefix _checksum_prefix = @checksum_prefix, type _type = @type, checksum_length _checksum_length = @checksum_length)
#