verify

public static boolean verify(String secret, String networkKey, String presented)

Constant-time comparison of a presented signature against the expected one.

Return

true when presented is a valid signature of networkKey