【问题标题】:how to use BCryptPasswordEncoder(int strength, SecureRandom random) func?如何使用 BCryptPasswordEncoder(int strength, SecureRandom random) 函数?
【发布时间】:2014-01-21 14:04:24
【问题描述】:

我在项目中有spring security 3.2.0 链接在这里 http://docs.spring.io/spring-security/site/docs/3.2.0.RELEASE/apidocs/org/springframework/security/crypto/bcrypt/BCryptPasswordEncoder.html

不知何故 eclipse 说这个函数不在包中。我为此创建了securerandom

BCryptPasswordEncoder(int strength, SecureRandom random)

谢谢

【问题讨论】:

    标签: random spring-security bcrypt


    【解决方案1】:

    其实这是我的错误,因为我使用不当。

    【讨论】:

      猜你喜欢
      • 2017-01-18
      • 1970-01-01
      • 1970-01-01
      • 2015-09-19
      • 1970-01-01
      • 2012-07-09
      • 2012-05-14
      • 2015-01-26
      • 2021-03-02
      相关资源
      最近更新 更多