@@ -16,10 +16,10 @@ public function testConstructor()
1616 'time_cost ' => \PASSWORD_ARGON2_DEFAULT_TIME_COST ,
1717 'threads ' => \PASSWORD_ARGON2_DEFAULT_THREADS ,
1818 ];
19- $ passwordHasher = new \Viper \PasswordHashing ($ options );
19+ $ passwordHasher = new \WebSecure \PasswordHashing ($ options );
2020 $ this ->assertTrue (\true);
2121 $ options ['algo ' ] = 'argon2i ' ;
22- $ passwordHasher = new \Viper \PasswordHashing ($ options );
22+ $ passwordHasher = new \WebSecure \PasswordHashing ($ options );
2323 $ this ->assertTrue (\true);
2424 }
2525
@@ -30,7 +30,7 @@ public function testBcryptError1()
3030 'algo ' => 'bcrypt ' ,
3131 'cost ' => 10 ,
3232 ];
33- $ passwordHasher = new \Viper \PasswordHashing ($ options );
33+ $ passwordHasher = new \WebSecure \PasswordHashing ($ options );
3434 $ hash = $ passwordHasher ->create ('55ufbabm5&[-q=`_Br!~K.6NN<rXSsbLQ!A[cd>," \'4\{5$!JmZupv_@A<R_Pc*m7:9-P{t">T.Q=u&s ' );
3535 }
3636
@@ -41,7 +41,7 @@ public function testBcryptError2()
4141 'algo ' => 'bcrypt ' ,
4242 'cost ' => 10 ,
4343 ];
44- $ passwordHasher = new \Viper \PasswordHashing ($ options );
44+ $ passwordHasher = new \WebSecure \PasswordHashing ($ options );
4545 $ hash = $ passwordHasher ->create ('Hello World! ' );
4646 if ($ passwordHasher ->verify ('55ufbabm5&[-q=`_Br!~K.6NN<rXSsbLQ!A[cd>," \'4\{5$!JmZupv_@A<R_Pc*m7:9-P{t">T.Q=u&s ' , $ hash ))
4747 {
@@ -55,7 +55,7 @@ public function testConstructorError1()
5555 'algo ' => 'other ' ,
5656 'cost ' => 10 ,
5757 ];
58- $ passwordHasher = new \Viper \PasswordHashing ($ options );
58+ $ passwordHasher = new \WebSecure \PasswordHashing ($ options );
5959 }
6060
6161 public function testPasswordCreateAndVerify ()
@@ -64,7 +64,7 @@ public function testPasswordCreateAndVerify()
6464 'algo ' => 'bcrypt ' ,
6565 'cost ' => 10 ,
6666 ];
67- $ passwordHasher = new \Viper \PasswordHashing ($ options );
67+ $ passwordHasher = new \WebSecure \PasswordHashing ($ options );
6868 $ this ->assertTrue (\true);
6969 $ hash = $ passwordHasher ->create ('Hello World! ' );
7070 $ this ->assertTrue (\true);
@@ -86,7 +86,7 @@ public function testPasswordCreateAndVerify()
8686 'algo ' => 'bcrypt ' ,
8787 'cost ' => 15 ,
8888 ];
89- $ passwordHasher2 = new \Viper \PasswordHashing ($ options );
89+ $ passwordHasher2 = new \WebSecure \PasswordHashing ($ options );
9090 $ res = $ passwordHasher2 ->verify ('Hello World! ' , $ hash );
9191 if (is_array ($ res ))
9292 {
0 commit comments