Class PasswordMakerUtil

java.lang.Object
com.maker.passwordmaker.PasswordMakerUtil

public class PasswordMakerUtil extends Object
Utility class for password encoding and matching.
Since:
2024. 6. 3.
Author:
yongjunhong
  • Method Details

    • encodingPassword

      public static String encodingPassword(String password, EncodingId encodingId)
      Encodes the given password using the specified encoding ID.
      Parameters:
      password - the password to encode
      encodingId - the encoding ID to use for encoding the password
      Returns:
      the encoded password
    • matchPasswordMaker

      public static boolean matchPasswordMaker(String password, String encodedPassword)
      Matches the given password with the encoded password.
      Parameters:
      password - the password to match
      encodedPassword - the encoded password to match with
      Returns:
      true if the password matches the encoded password, false otherwise