MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / baseline32

Function baseline32

atomic-core/src/change/signing.rs:114–116  ·  view source on GitHub ↗

Base32-encode raw bytes for error messages.

(bytes: &[u8; 32])

Source from the content-addressed store, hash-verified

112
113/// Base32-encode raw bytes for error messages.
114fn baseline32(bytes: &[u8; 32]) -> String {
115 data_encoding::BASE32_NOPAD.encode(bytes)
116}
117
118/// Errors from change signature verification.
119#[derive(Debug, thiserror::Error)]

Callers 1

verify_change_signatureFunction · 0.85

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected