Skip to content

Commit 2dba183

Browse files
committed
Rename default algorithm
1 parent eeb3572 commit 2dba183

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/bitwarden-crypto/src/keys/signing_crypto_key.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ pub enum SignatureAlgorithm {
3131
}
3232

3333
impl SignatureAlgorithm {
34-
pub fn default() -> Self {
34+
/// Returns the currently accepted safe algorithm for new keys.
35+
pub fn default_algorithm() -> Self {
3536
SignatureAlgorithm::Ed25519
3637
}
3738
}

0 commit comments

Comments
 (0)