Skip to content

Commit

Permalink
Restore ModernCrypto strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrovex committed Jan 18, 2019
1 parent 89161a4 commit f37f4d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Adapter/EncryptionAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Keet\Encrypt\Interfaces\EncryptionInterface;
use Keet\Encrypt\Result\EncryptionStorage;
use ParagonIE\CipherSweet\Backend\FIPSCrypto;
use ParagonIE\CipherSweet\Backend\ModernCrypto;
use ParagonIE\CipherSweet\BlindIndex;
use ParagonIE\CipherSweet\CipherSweet;
use ParagonIE\CipherSweet\EncryptedField;
Expand Down Expand Up @@ -54,7 +54,7 @@ public function __construct($key)
$this->setKey(new EncryptionKey(new HiddenString($key)));

$provider = new StringProvider(
new FIPSCrypto(),
new ModernCrypto(),
$this->getKey()->getRawKeyMaterial()
);

Expand Down

0 comments on commit f37f4d3

Please # to comment.