struct utils [src]
Deprecated in favor of std.crypto. To be removed after Zig 0.14.0 is released.
As a reminder, never use "utils" in a namespace (in any programming language).
https://ziglang.org/documentation/0.13.0/#Avoid-Redundancy-in-Names
Members
- secureZero (Function)
- timingSafeAdd (Function)
- timingSafeCompare (Function)
- timingSafeEql (Function)
- timingSafeSub (Function)
Source
pub const utils = struct {
/// Deprecated in favor of `std.crypto.secureZero`.
pub const secureZero = std.crypto.secureZero;
/// Deprecated in favor of `std.crypto.timing_safe.eql`.
pub const timingSafeEql = timing_safe.eql;
/// Deprecated in favor of `std.crypto.timing_safe.compare`.
pub const timingSafeCompare = timing_safe.compare;
/// Deprecated in favor of `std.crypto.timing_safe.add`.
pub const timingSafeAdd = timing_safe.add;
/// Deprecated in favor of `std.crypto.timing_safe.sub`.
pub const timingSafeSub = timing_safe.sub;
}