MCPcopy Create free account
hub / github.com/nodejs/node / algorithm

Method algorithm

lib/internal/crypto/keys.js:1077–1085  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1075 }
1076
1077 get algorithm() {
1078 const slots = getSlots(this);
1079 let cached = slots[kSlotClonedAlgorithm];
1080 if (cached === undefined) {
1081 cached = cloneAlgorithm(slots[kSlotAlgorithm]);
1082 slots[kSlotClonedAlgorithm] = cached;
1083 }
1084 return cached;
1085 }
1086
1087 get usages() {
1088 const slots = getSlots(this);

Callers

nothing calls this directly

Calls 1

cloneAlgorithmFunction · 0.85

Tested by

no test coverage detected