Crates.io | cryptouri |
lib.rs | cryptouri |
version | 0.4.0 |
source | src |
created_at | 2018-08-28 16:20:34.12768 |
updated_at | 2020-02-08 21:54:58.811343 |
description | URN-like namespace for cryptographic objects (keys, signatures, etc) with Bech32 encoding/checksums |
homepage | https://github.com/cryptouri |
repository | https://github.com/cryptouri/cryptouri.rs/ |
max_upload_size | |
id | 81841 |
size | 70,593 |
A URI-like format for serializing cryptographic objects including keys, signatures, and digests using URI generic syntax:
crypto:pub:key:ed25519:6adfsqvzky9t042tlmfujeq88g8wzuhnm2nzxfd0qgdx3ac82ydqf03cvv
A URI-safe "dasherized" form is also supported:
crypto-pub-key-ed25519-6adfsqvzky9t042tlmfujeq88g8wzuhnm2nzxfd0qgdx3ac82ydqlu986g
The CryptoURI format leverages the URI generic syntax defined in RFC 3986 to provide simple and succinct encodings of cryptographic keys, including public keys, private/secret keys, encrypted secret keys with password-based key derivation, digital signatures, key fingerprints, and other digests.
Binary data is serialized using the Bech32 encoding format which is designed to prevent human transcription errors by using an alphabet that eliminates similar-looking characters to avoid transcription errors and adds a checksum across the whole URI to detect these errors when they do happen. CryptoURIs which have been mis-transcribed will fail to decode.
Have questions? Want to suggest a feature or change?
We abide by the Contributor Covenant and ask that you do as well.
For more information, please see CODE_OF_CONDUCT.md.
Bug reports and pull requests are welcome on GitHub at:
https://github.com/cryptouri/cryptouri-rs
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as noted below, without any additional terms or conditions.
The cryptouri Rust crate is dual licensed under your choice of either of: