MCPcopy Create free account
hub / github.com/cosdata/cosdata / DoubleSHA256Hash

Class DoubleSHA256Hash

src/models/crypto.rs:19–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17// Flow: Input -> |SHA256| -> Hash1 -> |SHA256| -> Final 32-byte hash
18#[derive(Clone)]
19pub struct DoubleSHA256Hash(pub [u8; 32]);
20
21// Master key derived from user password and admin key
22pub struct MasterKey(pub [u8; 32]);

Callers 4

deserializeMethod · 0.85
get_admin_keyFunction · 0.85
hash_againMethod · 0.85
newMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected