Interface PasswordEncrypter

All Superinterfaces:
Serializable
All Known Implementing Classes:
JenkinsSecretPasswordEncrypter

public interface PasswordEncrypter extends Serializable
Provides password encryption/decryption functionality
Author:
Sergey Oplavin
  • Method Summary

    Modifier and Type
    Method
    Description
    decrypt(Secret encryptedPassword)
    Decrypt the encrypted password
    encrypt(String plainTextPassword)
    Encrypt the plain text password.
  • Method Details

    • encrypt

      Secret encrypt(String plainTextPassword)
      Encrypt the plain text password.
      Parameters:
      plainTextPassword - the plain text password
      Returns:
      the encrypted value
    • decrypt

      String decrypt(Secret encryptedPassword)
      Decrypt the encrypted password
      Parameters:
      encryptedPassword - the encrypted password
      Returns:
      the plain text