diff --git a/src/Adapter/EncryptionAdapter.php b/src/Adapter/EncryptionAdapter.php index 3ef8df6..f9eddc0 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\FIPSCrypto; +use ParagonIE\CipherSweet\Backend\ModernCrypto; 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 FIPSCrypto(), + new ModernCrypto(), $this->getKey()->getRawKeyMaterial() );