MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / isValidRecoveryCode

Function isValidRecoveryCode

chat/services/recoveryCode.js:65–67  ·  view source on GitHub ↗
(input, wordCount = WORD_COUNT_DEFAULT)

Source from the content-addressed store, hash-verified

63}
64
65export function isValidRecoveryCode(input, wordCount = WORD_COUNT_DEFAULT) {
66 return splitRecoveryCode(input).length === wordCount;
67}

Callers 1

Calls 1

splitRecoveryCodeFunction · 0.85

Tested by

no test coverage detected