Skip to content

Commit

Permalink
Fix alias cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Jun 25, 2021
1 parent 2cdd1d8 commit fb12bb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/CryptorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testAes256(): void

public function testRc4(): void
{
$cryptor = new Cryptor('RC4');
$cryptor = new Cryptor('rc4');

$encryptedA = $cryptor->encrypt('data', 'password');
$encryptedB = $cryptor->encrypt('data', 'password');
Expand Down
4 changes: 2 additions & 2 deletions tests/FixedPasswordCryptorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public function testAes256(): void

public function testRc4(): void
{
$cryptor = new FixedPasswordCryptor('password', new Cryptor('RC4'));
$anotherCryptor = new FixedPasswordCryptor('passward', new Cryptor('RC4'));
$cryptor = new FixedPasswordCryptor('password', new Cryptor('rc4'));
$anotherCryptor = new FixedPasswordCryptor('passward', new Cryptor('rc4'));

$encryptedA = $cryptor->encrypt('data');
$encryptedB = $cryptor->encrypt('data');
Expand Down

0 comments on commit fb12bb3

Please sign in to comment.