class EncryptionService (View source)

Methods

static string
decrypt(string $text)

Takes encrypted text and decrypts it.

static string
encrypt(string $text)

Takes un-encrypted text and encrypts it.

bool
isAvailable()

Function to see if mcrypt is installed.

Details

static string decrypt(string $text)

Takes encrypted text and decrypts it.

Parameters

string $text

Return Value

string

$text

static string encrypt(string $text)

Takes un-encrypted text and encrypts it.

Parameters

string $text

Return Value

string

$text

bool isAvailable()

Function to see if mcrypt is installed.

Return Value

bool