MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / current

Method current

nodedb-wal/src/crypto.rs:327–329  ·  view source on GitHub ↗

Get the current key (for encryption operations).

(&self)

Source from the content-addressed store, hash-verified

325
326 /// Get the current key (for encryption operations).
327 pub fn current(&self) -> &WalEncryptionKey {
328 &self.current
329 }
330
331 /// Whether a previous key is present (rotation in progress).
332 pub fn has_previous(&self) -> bool {

Callers 3

roll_segmentMethod · 0.45
set_encryption_ringMethod · 0.45
appendMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected