Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mailvelope/mailvelope
/ keyIdCheck
Function
keyIdCheck
src/modules/keyStore.js:103–108 ·
view source on GitHub ↗
(keyId, key)
Source
from the content-addressed store, hash-verified
101
}
102
103
function
keyIdCheck(keyId, key) {
104
if
(keyId.length === 16) {
105
return
keyId === key.getKeyID().toHex();
106
}
107
return
keyId === key.getFingerprint();
108
}
Callers
2
getForId
Method · 0.85
removeForId
Method · 0.85
Calls
2
toHex
Method · 0.80
getKeyID
Method · 0.45
Tested by
no test coverage detected