PasswordGen.kt 306 B

1234567891011121314151617
  1. package com.gxzc.zen.api
  2. import org.apache.shiro.crypto.hash.SimpleHash
  3. import org.junit.Test
  4. /**
  5. *
  6. * @author NorthLan
  7. * @date 2018/4/24
  8. * @url https://noahlan.com
  9. */
  10. class PasswordGen {
  11. @Test
  12. fun genPassword() {
  13. println(SimpleHash("md5", "123456", "admin" + "kidntkdij", 2))
  14. }
  15. }