jcb-compiler/src/81de8f57-dd9c-4a17-964f-848cd4a0743b/code.power

22 lines
558 B
Plaintext
Raw Normal View History

/**
* Encrypt a string as needed
*
* @param string $string The string to encrypt
* @param string $key The encryption key
*
* @return string
* @since 3.2.0
**/
public function encrypt(string $string, string $key): string;
/**
* Decrypt a string as needed
*
* @param string $string The string to decrypt
* @param string $key The decryption key
*
2023-10-24 08:36:39 +00:00
* @return string|null
* @since 3.2.0
**/
2023-10-24 08:36:39 +00:00
public function decrypt(string $string, string $key): ?string;