Paper wallet for Hush, which you can use with no internet access while wearing a tinfoil hat inside of a Faraday cage. https://hush.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
jahway603 9a2d84a48f rust devs hate backwards compatibility, so we vendor 1 year ago
..
benches rust devs hate backwards compatibility, so we vendor 1 year ago
fixtures rust devs hate backwards compatibility, so we vendor 1 year ago
src rust devs hate backwards compatibility, so we vendor 1 year ago
.cargo-checksum.json rust devs hate backwards compatibility, so we vendor 1 year ago
Cargo.toml rust devs hate backwards compatibility, so we vendor 1 year ago
LICENSE.md rust devs hate backwards compatibility, so we vendor 1 year ago
README.md rust devs hate backwards compatibility, so we vendor 1 year ago

README.md

base-x

Build Status

This is a Rust fork of https://github.com/cryptocoinjs/base-x

WARNING: This module is NOT RFC3548 compliant, it cannot be used for base16 (hex), base32, or base64 encoding in a standards compliant manner.

And this my very first Rust project: please review the source code!

Installation

Add this to Cargo.toml file:

[dependencies]
base-x = "0.2.0"

Usage

extern crate base_x;

fn main() {
    let decoded = base_x::decode("01", "11111111000000001111111100000000").unwrap();
    let encoded = base_x::encode("01", &decoded);
    assert_eq!(encoded, "11111111000000001111111100000000");
}

Changelog

  • 0.2.0

    Breaking change: alphabet has to be provided as an array of bytes instead of a string.

  • 0.1.0

    initial version

Contributors