Skip to main content
KeyObject.prototype.symmetricKeySize - crypto - Node documentation
property KeyObject.prototype.symmetricKeySize

Usage in Deno

import { KeyObject } from "node:crypto";

For secret keys, this property represents the size of the key in bytes. This property is undefined for asymmetric keys.

Type

number | undefined