Contents

==(_:_:)

Determines whether a shared secret is equivalent to a collection of contiguous bytes.

Declaration

static func == <D>(lhs: SharedSecret, rhs: D) -> Bool where D : DataProtocol

Parameters

  • lhs:

    The shared secret to compare.

  • rhs:

    A collection of contiguous bytes to compare.

Return Value

A Boolean value that’s true if the shared secret and the collection of binary data are equivalent.