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

Method is_encrypted

nodedb-wal/src/record/wal_record.rs:159–161  ·  view source on GitHub ↗

Whether this record's payload is encrypted.

(&self)

Source from the content-addressed store, hash-verified

157
158 /// Whether this record's payload is encrypted.
159 pub fn is_encrypted(&self) -> bool {
160 self.header.record_type & ENCRYPTED_FLAG != 0
161 }
162
163 /// Logical record type with the encryption flag stripped.
164 pub fn logical_record_type(&self) -> u32 {

Callers 2

decrypt_payloadMethod · 0.80
decrypt_payload_ringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected