pub fn from_bytes(key: [u8; secretbox::KEYBYTES]) -> Self {
        Self {
            encrypt: Arc::new(secretbox::Key(key)),
        }
    }
/// Create a symmetric key from bytes. Useful when it has been serialized.
Create a symmetric key from bytes. Useful when it has been serialized.
Create a symmetric key from bytes . Useful when it has been serialized .
pub fn from_bytes(key: [u8; secretbox::KEYBYTES]) -> Self {
        Self {
            encrypt: Arc::new(secretbox::Key(key)),
        }
    }
pub fn from_bytes ( key : [ u8 ; secretbox :: KEYBYTES ] ) -> Self { Self { encrypt : Arc :: new ( secretbox :: Key ( key ) ) , } }
Create a symmetric key from bytes.
Create a symmetric key from bytes .
key
[u8; secretbox::KEYBYTES]
key
[u8; secretbox::KEYBYTES]