/home/techb158/immovalet.com/vendor/aws/aws-sdk-php/src/Crypto
NameSizeModeActions
Cipher/-0755rm
Polyfill/-0755rm
AbstractCryptoClient.php40840644editdlrm
AbstractCryptoClientV2.php39730644editdlrm
AesDecryptingStream.php35080644editdlrm
AesEncryptingStream.php37110644editdlrm
AesGcmDecryptingStream.php25700644editdlrm
AesGcmEncryptingStream.php27670644editdlrm
AesStreamInterface.php6560644editdlrm
AesStreamInterfaceV2.php7280644editdlrm
DecryptionTrait.php61020644editdlrm
DecryptionTraitV2.php92590644editdlrm
EncryptionTrait.php70320644editdlrm
EncryptionTraitV2.php72170644editdlrm
KmsMaterialsProvider.php39890644editdlrm
KmsMaterialsProviderV2.php35140644editdlrm
MaterialsProvider.php33050644editdlrm
MaterialsProviderInterface.php18510644editdlrm
MaterialsProviderInterfaceV2.php17130644editdlrm
MaterialsProviderV2.php20550644editdlrm
MetadataEnvelope.php15810644editdlrm
MetadataStrategyInterface.php9960644editdlrm
Edit: /home/techb158/immovalet.com/vendor/aws/aws-sdk-php/src/Crypto/AesGcmDecryptingStream.php (2570B)
cipherText = $cipherText; $this->key = $key; $this->initializationVector = $initializationVector; $this->tag = $tag; $this->aad = $aad; $this->tagLength = $tagLength; $this->keySize = $keySize; } public function getOpenSslName() { return "aes-{$this->keySize}-gcm"; } public function getAesName() { return 'AES/GCM/NoPadding'; } public function getCurrentIv() { return $this->initializationVector; } public function createStream() { if (version_compare(PHP_VERSION, '7.1', '<')) { return Psr7\Utils::streamFor(AesGcm::decrypt( (string) $this->cipherText, $this->initializationVector, new Key($this->key), $this->aad, $this->tag, $this->keySize )); } else { $result = \openssl_decrypt( (string)$this->cipherText, $this->getOpenSslName(), $this->key, OPENSSL_RAW_DATA, $this->initializationVector, $this->tag, $this->aad ); if ($result === false) { throw new CryptoException('The requested object could not be' . ' decrypted due to an invalid authentication tag.'); } return Psr7\Utils::streamFor($result); } } public function isWritable() { return false; } }