Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
export
function
isValidRecoveryCode(input, wordCount = WORD_COUNT_DEFAULT) {
66
return
splitRecoveryCode(input).length === wordCount;
67
}
Callers
1
unlockWithRecoveryCode
Method · 0.90
Calls
1
splitRecoveryCode
Function · 0.85
Tested by
no test coverage detected