Operator (Default implementation)swift-crypto 3.12.2Crypto

==(_:_:)

Returns a Boolean value indicating whether two message authentication codes are equal.

MessageAuthenticationCode.swift:37
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
static func == (lhs: Self, rhs: Self) -> Bool

Parameters

lhs

The first message authentication code to compare.

rhs

The second message authentication code to compare.

Returns

A Boolean value that’s true if the message authentication codes are equivalent.