spring-oauth-server/src/test/java/com/monkeyk/sos/infrastructure/PasswordHandlerTest.java

20 lines
366 B
Java

package com.monkeyk.sos.infrastructure;
import org.testng.annotations.Test;
import static org.testng.Assert.*;
/*
* @author Shengzhao Li
*/
public class PasswordHandlerTest {
@Test
public void testMd5() throws Exception {
final String md5 = PasswordHandler.md5("123456");
assertNotNull(md5);
System.out.println(md5);
}
}