std/crypto/subtle
Functions
constantTimeEq
pub pure noalloc fn constantTimeEq(a: Bytes, b: Bytes) -> Bool
Reports whether a and b have equal length and bytes, with no data-dependent branch or early exit. Only the C runtime gives that timing guarantee; the VM makes no such promise.