MCPcopy Create free account
hub / github.com/RustCrypto/SSH / encrypt_with

Method encrypt_with

ssh-key/src/private.rs:521–548  ·  view source on GitHub ↗
(
        &self,
        cipher: Cipher,
        kdf: Kdf,
        checkint: u32,
        password: impl AsRef<[u8]>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encrypt_with_cipherMethod · 0.80

Calls 5

derive_key_and_ivMethod · 0.80
is_encryptedMethod · 0.45
encryptMethod · 0.45

Tested by

no test coverage detected