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

Function test_key

nodedb/src/storage/segment.rs:332–334  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 use super::*;
331
332 fn test_key() -> nodedb_wal::crypto::WalEncryptionKey {
333 nodedb_wal::crypto::WalEncryptionKey::from_bytes(&[0x42u8; 32]).unwrap()
334 }
335
336 #[test]
337 fn roundtrip_bytes() {

Calls

no outgoing calls

Tested by

no test coverage detected