File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 101
101
The key material is a password supplied by the user.
102
102
*/
103
103
function getKeyMaterial ( ) {
104
- let password = window . prompt ( "Enter your password" ) ;
105
- let enc = new TextEncoder ( ) ;
104
+ const password = window . prompt ( "Enter your password" ) ;
105
+ const enc = new TextEncoder ( ) ;
106
106
return window . crypto . subtle . importKey (
107
107
"raw" ,
108
108
enc . encode ( password ) ,
Original file line number Diff line number Diff line change 37
37
The key material is a password supplied by the user.
38
38
*/
39
39
function getKeyMaterial ( ) {
40
- let password = window . prompt ( "Enter your password" ) ;
41
- let enc = new TextEncoder ( ) ;
40
+ const password = window . prompt ( "Enter your password" ) ;
41
+ const enc = new TextEncoder ( ) ;
42
42
return window . crypto . subtle . importKey (
43
43
"raw" ,
44
44
enc . encode ( password ) ,
Original file line number Diff line number Diff line change 8
8
The key material is a password supplied by the user.
9
9
*/
10
10
function getKeyMaterial ( ) {
11
- let password = window . prompt ( "Enter your password" ) ;
12
- let enc = new TextEncoder ( ) ;
11
+ const password = window . prompt ( "Enter your password" ) ;
12
+ const enc = new TextEncoder ( ) ;
13
13
return window . crypto . subtle . importKey (
14
14
"raw" ,
15
15
enc . encode ( password ) ,
Original file line number Diff line number Diff line change 8
8
The key material is a password supplied by the user.
9
9
*/
10
10
function getKeyMaterial ( ) {
11
- let password = window . prompt ( "Enter your password" ) ;
12
- let enc = new TextEncoder ( ) ;
11
+ const password = window . prompt ( "Enter your password" ) ;
12
+ const enc = new TextEncoder ( ) ;
13
13
return window . crypto . subtle . importKey (
14
14
"raw" ,
15
15
enc . encode ( password ) ,
Original file line number Diff line number Diff line change 7
7
The key material is a password supplied by the user.
8
8
*/
9
9
function getKeyMaterial ( ) {
10
- let password = window . prompt ( "Enter your password" ) ;
11
- let enc = new TextEncoder ( ) ;
10
+ const password = window . prompt ( "Enter your password" ) ;
11
+ const enc = new TextEncoder ( ) ;
12
12
return window . crypto . subtle . importKey (
13
13
"raw" ,
14
14
enc . encode ( password ) ,
Original file line number Diff line number Diff line change 8
8
The key material is a password supplied by the user.
9
9
*/
10
10
function getKeyMaterial ( ) {
11
- let password = window . prompt ( "Enter your password" ) ;
12
- let enc = new TextEncoder ( ) ;
11
+ const password = window . prompt ( "Enter your password" ) ;
12
+ const enc = new TextEncoder ( ) ;
13
13
return window . crypto . subtle . importKey (
14
14
"raw" ,
15
15
enc . encode ( password ) ,
You can’t perform that action at this time.
0 commit comments