Whether this key is the all-zero sentinel. Insecure transports skip replay-detection telemetry accordingly.
(&self)
| 70 | /// Whether this key is the all-zero sentinel. Insecure transports |
| 71 | /// skip replay-detection telemetry accordingly. |
| 72 | pub fn is_zero(&self) -> bool { |
| 73 | self.0 == [0u8; MAC_LEN] |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | /// Redacted `Debug` — never print key bytes. |