method KeyObject.prototype.equals
Usage in Deno
import { KeyObject } from "node:crypto";
KeyObject.prototype.equals(otherKeyObject: KeyObject): boolean
Returns true
or false
depending on whether the keys have exactly the same
type, value, and parameters. This method is not constant time.
otherKeyObject: KeyObject
A KeyObject
with which to compare keyObject
.
boolean