SHARE
TWEET

Untitled

a guest Jun 24th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import org.springframework.security.crypto.password.PasswordEncoder;
  2. ...
  3. @Autowired
  4. private PasswordEncoder passwordEncoder;
  5.  
  6. @Test
  7. public void testPasswordEncoder() {
  8.     // replace "Abcd1234" with your passord
  9.     String hash = passwordEncoder.encode("Abcd1234");
  10.     System.out.println(hash);
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top