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

質問編集履歴

3

誤字

2021/05/19 01:27

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -8,7 +8,7 @@
8
8
  const key = crypto.scryptSync(Str, 'salt', 32);
9
9
  const decipher = crypto.createDecipheriv('aes-256-cbc', key, iv);
10
10
  decipher.setAutoPadding(false);
11
- let decText = decipher.update(cipheredStr, 'hex', 'utf8');
11
+ let decText = decipher.update(Str, 'hex', 'utf8');
12
12
  Text += decipher.final('utf8');
13
13
  console.log(Text)
14
14
  ```

2

誤字

2021/05/19 01:27

投稿

退会済みユーザー
title CHANGED
File without changes
body CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  crypto.createDecipherivを利用し、複合化を行いたい
4
4
 
5
- ### 該当のソースコード(key.json)
5
+ ### 該当のソースコード(key.js)
6
6
  ```   
7
7
  const iv = crypto.randomBytes(16);
8
8
  const key = crypto.scryptSync(Str, 'salt', 32);

1

誤字

2021/05/18 16:58

投稿

退会済みユーザー
title CHANGED
@@ -1,1 +1,1 @@
1
- node .js crypto.createDecipherivを利用し、複合化を行う
1
+ node.js crypto.createDecipherivを利用し、複合化を行う
body CHANGED
@@ -13,7 +13,7 @@
13
13
  console.log(Text)
14
14
  ```
15
15
 
16
- ### 期待する結果 暗号化されているStrをユーザ名に直
16
+ ### 期待する結果 暗号化されているStrをユーザ名に直したい
17
17
  ```
18
18
  Str = 3484b5c72571ffc7c4aeeae637bed546
19
19
  Text = ユーザ名