MCPcopy Create free account
hub / github.com/cryptii/cryptii / getMaxSlotCount

Method getMaxSlotCount

src/Encoder/Enigma.js:943–945  ·  view source on GitHub ↗

* Returns the max slot count for all available models. * @protected * @return {number} Max slot count

()

Source from the content-addressed store, hash-verified

941 * @return {number} Max slot count
942 */
943 static getMaxSlotCount () {
944 return models.reduce((max, model) => Math.max(max, model.slots.length), 0)
945 }
946
947 /**
948 * Returns a rotor entry by given name.

Callers 2

constructorMethod · 0.80
applyModelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected