MCPcopy Index your code
hub / github.com/klauspost/password

github.com/klauspost/password @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
115 symbols 277 edges 21 files 74 documented · 64% 4 cross-repo links updated 10y ago★ 52
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

DbWriter (Interface)
A DbWriter is used for adding passwords to a database. Items sent to Add has always been sanitized, however the same pas [6 …
password.go
BulkWriter (Interface)
If your DbWriter implements this, input will be sent in batches instead of using Add. [3 implementers]
bulk.go
TestDB (Interface)
(no doc)
drivers/testing.go
DB (Interface)
A DB should check the database for the supplied password. The password sent to the interface has always been sanitized. [5 …
password.go
Sanitizer (Interface)
A Sanitizer should prepare a password, and check the basic properties that should be satisfied. For an example, see Defa [2 …
password.go
Tokenizer (Interface)
Tokenizer delivers input tokens (passwords). Calling Next() should return the next password, and when finished io.EOF sh [1 …
password.go

Core symbols most depended-on inside this repo

Import
called by 9
password.go
Sanitize
called by 7
password.go
SanitizeOK
called by 7
password.go
Close
called by 7
bulk.go
Has
called by 5
password.go
Check
called by 5
password.go
Add
called by 4
password.go
truncate
called by 3
drivers/sqlpw/sql.go

Shape

Function 56
Method 37
Struct 13
Interface 7
TypeAlias 2

Languages

Go100%

Modules by API surface

testdata/generated.go19 symbols
password.go17 symbols
password_test.go13 symbols
drivers/testdb/memdb.go9 symbols
drivers/sqlpw/sql.go8 symbols
bulk.go7 symbols
tokenizer/linereader.go6 symbols
drivers/mgopw/mgo.go5 symbols
drivers/boltpw/boltdb.go5 symbols
drivers/bloompw/bloom.go5 symbols
drivers/testing.go4 symbols
drivers/cassandra/cassandra.go4 symbols

For agents

$ claude mcp add password \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact