MCPcopy Index your code
hub / github.com/RustCrypto/SSH

github.com/RustCrypto/SSH @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
984 symbols 2,248 edges 83 files 149 documented · 15%
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

Encode (Interface)
Encoding trait. This trait describes how to encode a given type. [41 implementers]
ssh-encoding/src/encode.rs
BlockCipher (Interface)
Trait for block ciphers supported by this crate. This trait is deliberately sealed so it cannot be implemented by downs [2 …
ssh-cipher/src/block_cipher.rs
AssociatedHashAlg (Interface)
Associate an SSH [`HashAlg`] with the given type. [2 implementers]
ssh-key/src/algorithm.rs
Rfc4251String (Interface)
A trait indicating that the type is encoded like an RFC4251 string. Implementing this trait allows encoding sequences o [6 …
ssh-encoding/src/encode.rs
SigningKey (Interface)
Trait for signing keys which produce a [`Signature`]. This trait is automatically impl'd for any types which impl the [ [1 …
ssh-key/src/signature.rs
Decode (Interface)
Decoding trait. This trait describes how to decode a given type. [41 implementers]
ssh-encoding/src/decode.rs
Label (Interface)
Labels for e.g. cryptographic algorithms. Receives a blanket impl of [`Decode`] and [`Encode`]. [5 implementers]
ssh-encoding/src/label.rs
Writer (Interface)
Writer trait which encodes the SSH binary format to various output encodings. [5 implementers]
ssh-encoding/src/writer.rs

Core symbols most depended-on inside this repo

len
called by 62
ssh-key/src/comment.rs
checked_sum
called by 34
ssh-encoding/src/checked.rs
key_data
called by 32
ssh-key/src/public.rs
as_slice
called by 30
ssh-key/src/private/ecdsa.rs
decrypt
called by 21
ssh-key/src/ppk.rs
encode
called by 17
ssh-encoding/src/label.rs
as_bytes
called by 17
ssh-key/src/comment.rs
is_empty
called by 17
ssh-key/src/comment.rs

Shape

Method 604
Function 273
Class 68
Enum 27
Interface 12

Languages

Rust100%

Modules by API surface

ssh-key/src/private.rs41 symbols
ssh-key/tests/private_key.rs40 symbols
ssh-key/src/signature.rs39 symbols
ssh-key/src/certificate.rs36 symbols
ssh-key/tests/certificate.rs29 symbols
ssh-key/src/public/key_data.rs28 symbols
ssh-key/src/sshsig.rs27 symbols
ssh-key/src/private/keypair.rs27 symbols
ssh-key/tests/encrypted_private_key.rs26 symbols
ssh-key/src/authorized_keys.rs26 symbols
ssh-key/src/public.rs25 symbols
ssh-key/src/known_hosts.rs23 symbols

For agents

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

⬇ download graph artifact