This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tests | |
import ( | |
"fmt" | |
"testing" | |
) | |
// 可逆加密简单算法测试,采用异或方式 | |
func TestPwd(t *testing.T) { | |
pwd := "Hello world!" |