This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- impl `TryFrom<&[u8]>`, `FromStr`, `AsRef<[u8]>` for every possible type - remove duplicate functions `from_bytes`, `try_from_slice`, `from_b64`, `to_b64`, `as_slice` - remove `FromBase64Error` and replaced it with `DecodeError::InvalidLength` - add `Token<const S: usize>`
- Loading branch information
1 parent
680ada1
commit c7dd978
Showing
15 changed files
with
832 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "fire-crypto" | ||
description = "Crypto library providing encryption and signing." | ||
version = "0.2.3" | ||
version = "0.3.0" | ||
authors = ["Sören Meier <[email protected]>"] | ||
repository = "https://github.com/fire-lib/fire-crypto" | ||
homepage = "https://fire-lib.com/" | ||
|
@@ -26,11 +26,11 @@ hash = ["blake2", "generic-array"] | |
|
||
[dependencies] | ||
#cipher | ||
zeroize = { version = "1.4", optional = true } | ||
zeroize = { version = "=1.3", optional = true } | ||
poly1305 = { version = "0.7", optional = true } | ||
universal-hash = { version = "0.4", optional = true } | ||
chacha20 = { version = "0.7", features = ["hchacha", "expose-core"], optional = true } | ||
x25519-dalek = { version = "1.1", optional = true } | ||
x25519-dalek = { version = "1.2", optional = true } | ||
|
||
#signature | ||
ed25519-dalek = { version = "1.0", optional = true } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.