MCPcopy Create free account
hub / github.com/DNSCrypt/encrypted-dns-server / client_magic

Method client_magic

src/dnscrypt_certs.rs:122–124  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

120 }
121
122 pub fn client_magic(&self) -> &[u8] {
123 &self.cert_bytes[PQ_OFF_CLIENT_MAGIC..PQ_OFF_CLIENT_MAGIC + 8]
124 }
125
126 pub fn es_version(&self) -> [u8; 2] {
127 [self.cert_bytes[4], self.cert_bytes[5]]

Callers 1

decryptFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected