We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 589db56 commit 9292fe1Copy full SHA for 9292fe1
src/ecdh.rs
@@ -47,13 +47,11 @@ pub struct SharedSecret {
47
}
48
impl_raw_debug!(SharedSecret);
49
50
-
51
// This implementes `From<N>` for all `[u8; N]` arrays from 128bits(16 byte) to 2048bits allowing known hash lengths.
52
// Lower than 128 bits isn't resistant to collisions any more.
53
impl_from_array_len!(SharedSecret, 256, (16 20 28 32 48 64 96 128 256));
54
55
impl SharedSecret {
56
57
/// Create an empty SharedSecret
58
pub(crate) fn empty() -> SharedSecret {
59
SharedSecret {
0 commit comments