接口 PasswordMatcher


public interface PasswordMatcher
作者:
Kerbores(kerbores@riemann.tech)
  • 方法概要

    修饰符和类型
    方法
    说明
    default String
    加密
    default boolean
    match(String raw, String encoded)
    比对
  • 方法详细资料

    • encode

      default String encode(String raw)
      加密
      参数:
      raw - 明文
      返回:
      密文
    • match

      default boolean match(String raw, String encoded)
      比对
      参数:
      raw - 明文
      encoded - 密文
      返回:
      是否匹配