All Projects β†’ multiformats β†’ Rust Multibase

multiformats / Rust Multibase

Licence: other
Multibase in rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Rust Multibase

Stegify
πŸ” Go tool for LSB steganography, capable of hiding any file within an image.
Stars: ✭ 927 (+2990%)
Mutual labels:  encoding, decoding
X509
A PHP library for X.509 public key certificates, attribute certificates, certification requests and certification path validation.
Stars: ✭ 27 (-10%)
Mutual labels:  encoding, decoding
Serpent
A protocol to serialize Swift structs and classes for encoding and decoding.
Stars: ✭ 281 (+836.67%)
Mutual labels:  encoding, decoding
scure-base
Secure, audited & 0-deps implementation of bech32, base64, base32, base16 & base58
Stars: ✭ 27 (-10%)
Mutual labels:  encoding, decoding
Pbf
A low-level, lightweight protocol buffers implementation in JavaScript.
Stars: ✭ 618 (+1960%)
Mutual labels:  encoding, decoding
AnimatedGif
πŸ“Ό A high performance .NET library for reading and creating animated GIFs
Stars: ✭ 106 (+253.33%)
Mutual labels:  encoding, decoding
Anycodable
Type-erased wrappers for Encodable, Decodable, and Codable values
Stars: ✭ 811 (+2603.33%)
Mutual labels:  encoding, decoding
go-fixedwidth
Encoding and decoding for fixed-width formatted data
Stars: ✭ 64 (+113.33%)
Mutual labels:  encoding, decoding
Flac
Free Lossless Audio Codec
Stars: ✭ 593 (+1876.67%)
Mutual labels:  encoding, decoding
Hashids.net
A small .NET package to generate YouTube-like hashes from one or many numbers. Use hashids when you do not want to expose your database ids to the user.
Stars: ✭ 470 (+1466.67%)
Mutual labels:  encoding, decoding
velvet-video
Java library for encoding / decoding / muxing / demuxing video and audio in various formats
Stars: ✭ 32 (+6.67%)
Mutual labels:  encoding, decoding
Encoding
Go package containing implementations of efficient encoding, decoding, and validation APIs.
Stars: ✭ 705 (+2250%)
Mutual labels:  encoding, decoding
avro ex
An Avro Library that emphasizes testability and ease of use.
Stars: ✭ 47 (+56.67%)
Mutual labels:  encoding, decoding
Xmorse
🌞 ~1.5Kb morse code library for all. δΈ€δΈͺζ”―ζŒ Unicode δΈ­ζ–‡ζ‘©ζ–―ε―†η ηΌ–η ηš„ Javascript 库。
Stars: ✭ 266 (+786.67%)
Mutual labels:  encoding, decoding
sirdez
Glorious Binary Serialization and Deserialization for TypeScript.
Stars: ✭ 20 (-33.33%)
Mutual labels:  encoding, decoding
Libmorton
C++ header-only library with methods to efficiently encode/decode Morton codes in/from 2D/3D coordinates
Stars: ✭ 373 (+1143.33%)
Mutual labels:  encoding, decoding
universal-base64
Small universal base64 functions for node.js and browsers
Stars: ✭ 25 (-16.67%)
Mutual labels:  encoding, decoding
cpp-bencoding
A C++ bencoding library supporting both decoding and encoding.
Stars: ✭ 20 (-33.33%)
Mutual labels:  encoding, decoding
Go Geom
Package geom implements efficient geometry types for geospatial applications.
Stars: ✭ 456 (+1420%)
Mutual labels:  encoding, decoding
Decodify
Detect and decode encoded strings, recursively.
Stars: ✭ 670 (+2133.33%)
Mutual labels:  encoding, decoding

rust-multibase

Build Status License Crates.io Documentation Dependency Status Coverage Status

multibase implementation in Rust.

Table of Contents

Install

First add this to your Cargo.toml

[dependencies]
multibase = "0.9"

For no_std

[dependencies]
multibase = { version ="0.9", default-features = false }

note: This crate relies on the currently unstable host_dep feature to compile proc macros with the proper dependencies, thus requiring nightly rustc to use.

Then run cargo build.

Usage

use multibase::Base;

let base64 = multibase::encode(Base::Base64, b"hello world");
let (base, data) = multibase::decode(base64);

Note: base32 and base64 are orders of magnitude faster due to byte alignment. Don't be surprised if using a different base turns into a performance bottleneck. You were warned!

Maintainers

Captain: @dignifiedquire.

Contribute

Contributions welcome. Please check out the issues.

Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT Β© Friedel Ziegelmayer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].