commit 846e0306cad2d9fe83e553394fd5b0a871262ed4
parent 4559255a840fe7ca7833b337b208af6baa42fbae
Author: Jackson G. Kaindume <seestem@merely.tech>
Date: Mon, 29 Aug 2022 11:35:05 +0200
[phora] remove unused
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/phora/src/crypto.rs b/phora/src/crypto.rs
@@ -13,11 +13,8 @@ use scrypt::{
Scrypt,
};
-const CREDENTIAL_LEN: usize = digest::SHA256_OUTPUT_LEN;
-
/// Nonce used when encrypting the Crypto's keypair (Crypto::encrypt_keypair_document())
const AED_NONCE: &str = "people the information ";
-pub type Credential = [u8; CREDENTIAL_LEN];
pub struct Credentials {
/// Base64 encoded key pair serialized as a PKCS#8 document