diff --git a/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java b/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java index 8b63af66..151da048 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java +++ b/pgpainless-core/src/main/java/org/pgpainless/PGPainless.java @@ -144,7 +144,7 @@ public class PGPainless { * @throws IOException IO is dangerous. * @throws PGPException PGP is brittle. * @deprecated use {@link #encryptAndOrSign()} instead and provide a passphrase in - * {@link org.pgpainless.encryption_signing.EncryptionBuilderInterface.ToRecipients#forPassphrases(Passphrase...)}. + * {@link org.pgpainless.encryption_signing.EncryptionOptions#addPassphrase(Passphrase)}. */ @Deprecated public static byte[] encryptWithPassword(@Nonnull byte[] data, @Nonnull Passphrase password, @Nonnull SymmetricKeyAlgorithm algorithm) throws IOException, PGPException {