/home/techb158/ileadtechnology.com/vendor/aws/aws-sdk-php/src/Crypto
NameSizeModeActions
Cipher/-0755rm
Polyfill/-0755rm
AbstractCryptoClient.php40840644editdlrm
AbstractCryptoClientV2.php39730644editdlrm
AesDecryptingStream.php35920644editdlrm
AesEncryptingStream.php37670644editdlrm
AesGcmDecryptingStream.php25760644editdlrm
AesGcmEncryptingStream.php27730644editdlrm
AesStreamInterface.php6560644editdlrm
AesStreamInterfaceV2.php7280644editdlrm
DecryptionTrait.php61000644editdlrm
DecryptionTraitV2.php92570644editdlrm
EncryptionTrait.php70300644editdlrm
EncryptionTraitV2.php72170644editdlrm
KmsMaterialsProvider.php39890644editdlrm
KmsMaterialsProviderV2.php35140644editdlrm
MaterialsProvider.php33050644editdlrm
MaterialsProviderInterface.php18510644editdlrm
MaterialsProviderInterfaceV2.php17130644editdlrm
MaterialsProviderV2.php20550644editdlrm
MetadataEnvelope.php16750644editdlrm
MetadataStrategyInterface.php9960644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/aws/aws-sdk-php/src/Crypto/AesGcmEncryptingStream.php (2773B)
plaintext = $plaintext; $this->key = $key; $this->initializationVector = $initializationVector; $this->aad = $aad; $this->tagLength = $tagLength; $this->keySize = $keySize; } public function getOpenSslName() { return "aes-{$this->keySize}-gcm"; } /** * Same as static method and retained for backwards compatibility * * @return string */ public function getAesName() { return self::getStaticAesName(); } public function getCurrentIv() { return $this->initializationVector; } public function createStream() { if (version_compare(PHP_VERSION, '7.1', '<')) { return Psr7\Utils::streamFor(AesGcm::encrypt( (string) $this->plaintext, $this->initializationVector, new Key($this->key), $this->aad, $this->tag, $this->keySize )); } else { return Psr7\Utils::streamFor(\openssl_encrypt( (string)$this->plaintext, $this->getOpenSslName(), $this->key, OPENSSL_RAW_DATA, $this->initializationVector, $this->tag, $this->aad, $this->tagLength )); } } /** * @return string */ public function getTag() { return $this->tag; } public function isWritable(): bool { return false; } }