teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

コードの変更

2019/05/19 08:38

投稿

akaikesan
akaikesan

スコア23

title CHANGED
File without changes
body CHANGED
@@ -9,13 +9,13 @@
9
9
  ### 該当のソースコード
10
10
 
11
11
  ```java
12
- System.out.println(pass);//I/System.out: fYRnYSsK9A4=
12
+ System.out.println(v);//I/System.out: fYRnYSsK9A4=
13
13
 
14
- safe = cryptUtil.encrypt(m,secretKey);
14
+ v2 = cryptUtil.encrypt(m,secretKey);
15
15
 
16
- System.out.println(safe);//I/System.out: fYRnYSsK9A4=
16
+ System.out.println(v2);//I/System.out: fYRnYSsK9A4=
17
17
 
18
- if(safe.equals(pass)){
18
+ if(v.equals(v2)){
19
19
  //このifの条件が通りません
20
20
  }
21
21
 

1

コードの変更

2019/05/19 08:38

投稿

akaikesan
akaikesan

スコア23

title CHANGED
File without changes
body CHANGED
@@ -11,7 +11,7 @@
11
11
  ```java
12
12
  System.out.println(pass);//I/System.out: fYRnYSsK9A4=
13
13
 
14
- safe = cryptUtil.encrypt(mPassword,secretKey);
14
+ safe = cryptUtil.encrypt(m,secretKey);
15
15
 
16
16
  System.out.println(safe);//I/System.out: fYRnYSsK9A4=
17
17