diff options
Diffstat (limited to 'crypto-common/src/main')
-rw-r--r-- | crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt b/crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt index 952f4a7e..f8995bf6 100644 --- a/crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt +++ b/crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt @@ -14,13 +14,13 @@ import java.io.OutputStream public interface CryptoHandler<Key> { /** - * Decrypt the given [ciphertextStream] using a [privateKey] and [passphrase], and writes the + * Decrypt the given [ciphertextStream] using a [secretKey] and [passphrase], and writes the * resultant plaintext to [outputStream]. The returned [Result] should be checked to ensure it is * **not** an instance of [com.github.michaelbull.result.Err] before the contents of * [outputStream] are used. */ public fun decrypt( - privateKey: Key, + secretKey: Key, passphrase: String, ciphertextStream: InputStream, outputStream: OutputStream, |