Skip to content

libsodium.PKI.SharedSecret.Operator_Compare

Andrew Lambert edited this page Nov 26, 2022 · 2 revisions

libsodium.PKI.SharedSecret.Operator_Compare

Method Signature

 Function Operator_Compare(OtherSecret As libsodium.PKI.SharedSecret) As Int32
 Function Operator_Compare(OtherKey As String) As Int32

Return value

Zero if the keys are equal, non-zero if they are not equal.

Remarks

Performs a constant-time binary comparison.

Clone this wiki locally