You are here

public function EncryptionInterface::decrypt in Ubercart 8.4

Decrypts cyphertext.

Parameters

string $key: Key used for encryption.

string $cyphertext: String containing text to be encrypted.

Return value

string Plaintext. Decrypted text.

2 methods override EncryptionInterface::decrypt()
MarstonEncryption::decrypt in uc_store/src/MarstonEncryption.php
Decrypts cyphertext.
OpenSSLEncryption::decrypt in uc_store/src/OpenSSLEncryption.php
Decrypts cyphertext.

File

uc_store/src/EncryptionInterface.php, line 37

Class

EncryptionInterface
Provides common interface for encryption methods.

Namespace

Drupal\uc_store

Code

public function decrypt($key, $cyphertext);