質問編集履歴

2

コードの変更

2019/05/19 08:38

投稿

akaikesan
akaikesan

スコア23

test CHANGED
File without changes
test CHANGED
@@ -20,19 +20,19 @@
20
20
 
21
21
  ```java
22
22
 
23
- System.out.println(pass);//I/System.out: fYRnYSsK9A4=
23
+ System.out.println(v);//I/System.out: fYRnYSsK9A4=
24
24
 
25
25
 
26
26
 
27
- safe = cryptUtil.encrypt(m,secretKey);
27
+ v2 = cryptUtil.encrypt(m,secretKey);
28
28
 
29
29
 
30
30
 
31
- System.out.println(safe);//I/System.out: fYRnYSsK9A4=
31
+ System.out.println(v2);//I/System.out: fYRnYSsK9A4=
32
32
 
33
33
 
34
34
 
35
- if(safe.equals(pass)){
35
+ if(v.equals(v2)){
36
36
 
37
37
  //このifの条件が通りません
38
38
 

1

コードの変更

2019/05/19 08:38

投稿

akaikesan
akaikesan

スコア23

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
 
26
26
 
27
- safe = cryptUtil.encrypt(mPassword,secretKey);
27
+ safe = cryptUtil.encrypt(m,secretKey);
28
28
 
29
29
 
30
30