forked from fanruan/finekit
Browse Source
* commit 'a938cd9f81fae0f169923de8cf7f0f706a04d57f': update: 新增方法,结构调整remotes/1611766341912730171/master
superman
5 years ago
4 changed files with 30 additions and 2 deletions
@ -0,0 +1,18 @@
|
||||
package com.fanruan.api.security; |
||||
|
||||
import java.util.*; |
||||
|
||||
import com.fr.stable.CommonCodeUtils; |
||||
import org.junit.Assert; |
||||
import org.junit.Test; |
||||
|
||||
public class SecurityKitTest { |
||||
@Test |
||||
public void passwordDecode(){ |
||||
Assert.assertEquals(SecurityKit.passwordDecode("1234"), CommonCodeUtils.passwordDecode("1234")); |
||||
} |
||||
@Test |
||||
public void passwordEncode(){ |
||||
Assert.assertEquals(SecurityKit.passwordEncode("1234"), CommonCodeUtils.passwordEncode("1234")); |
||||
} |
||||
} |
Loading…
Reference in new issue