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

Method as_bytes

src/crypto.rs:18–20  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

16
17impl Signature {
18 pub fn as_bytes(&self) -> &[u8; crypto_sign_BYTES as usize] {
19 &self.0
20 }
21
22 pub fn from_bytes(bytes: [u8; crypto_sign_BYTES as usize]) -> Self {
23 Signature(bytes)

Callers 7

async_saveMethod · 0.45
mainFunction · 0.45
loadMethod · 0.45
makeFunction · 0.45
signMethod · 0.45
as_stringMethod · 0.45
serve_certificatesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected