Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibPDF-js/core
/ tryEmptyPassword
Function
tryEmptyPassword
src/security/standard-handler.ts:508–510 ·
view source on GitHub ↗
(handler: StandardSecurityHandler)
Source
from the content-addressed store, hash-verified
506
* @returns Authentication result
507
*/
508
export
function
tryEmptyPassword(handler: StandardSecurityHandler): AuthResult {
509
return
handler.authenticate(
new
Uint8Array(0));
510
}
Callers
2
standard-handler.test.ts
File · 0.90
buildDocument
Method · 0.90
Calls
1
authenticate
Method · 0.65
Tested by
no test coverage detected