\CryptoManana\Core\Interfaces\MessageEncryptionSecretKeyInterface

Interface SecretKeyInterface - Interface for secret key capabilities.

Summary

Methods
Constants
setSecretKey()
getSecretKey()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setSecretKey()

setSecretKey(string  $key) 

Setter for the secret key string property.

Parameters

string $key

The encryption key string.

Throws

\Exception

Validation errors.

getSecretKey()

getSecretKey() : string

Getter for the secret key string property.

Returns

string —

The encryption key string.