diff --git a/src/Adapter/EncryptionAdapter.php b/src/Adapter/EncryptionAdapter.php index f9eddc0..3ef8df6 100644 --- a/src/Adapter/EncryptionAdapter.php +++ b/src/Adapter/EncryptionAdapter.php @@ -4,7 +4,7 @@ use Keet\Encrypt\Interfaces\EncryptionInterface; use Keet\Encrypt\Result\EncryptionStorage; -use ParagonIE\CipherSweet\Backend\ModernCrypto; +use ParagonIE\CipherSweet\Backend\FIPSCrypto; use ParagonIE\CipherSweet\BlindIndex; use ParagonIE\CipherSweet\CipherSweet; use ParagonIE\CipherSweet\EncryptedField; @@ -54,7 +54,7 @@ public function __construct($key) $this->setKey(new EncryptionKey(new HiddenString($key))); $provider = new StringProvider( - new ModernCrypto(), + new FIPSCrypto(), $this->getKey()->getRawKeyMaterial() );