Interface PasswordMatcher


public interface PasswordMatcher
Author:
Kerbores(kerbores@riemann.tech)
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    加密
    default boolean
    match(String raw, String encoded)
    比对
  • Method Details

    • encode

      default String encode(String raw)
      加密
      Parameters:
      raw - 明文
      Returns:
      密文
    • match

      default boolean match(String raw, String encoded)
      比对
      Parameters:
      raw - 明文
      encoded - 密文
      Returns:
      是否匹配