mirror of
https://github.com/mii443/lamport_sigs.rs.git
synced 2025-08-22 23:15:26 +00:00
Update to Rust 2018
This commit is contained in:
@ -10,6 +10,7 @@ repository = "https://github.com/SpinResearch/lamport_sigs.rs"
|
||||
keywords = ["lamport", "signature-scheme"]
|
||||
categories = ["cryptography", "algorithms"]
|
||||
readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
ring = "^0.16.1"
|
||||
|
@ -1,7 +1,7 @@
|
||||
use ring::digest::{Algorithm, SHA256, SHA512};
|
||||
|
||||
use PrivateKey;
|
||||
use PublicKey;
|
||||
use crate::PrivateKey;
|
||||
use crate::PublicKey;
|
||||
|
||||
static DIGEST_256: &Algorithm = &SHA256;
|
||||
static DIGEST_512: &Algorithm = &SHA512;
|
||||
|
Reference in New Issue
Block a user