Refactor the encryption class.
This commit is contained in:
@@ -69,11 +69,9 @@ class Crypt {
|
|||||||
{
|
{
|
||||||
return MCRYPT_DEV_RANDOM;
|
return MCRYPT_DEV_RANDOM;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
return MCRYPT_RAND;
|
return MCRYPT_RAND;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the application key from the application configuration file.
|
* Get the application key from the application configuration file.
|
||||||
|
|||||||
Reference in New Issue
Block a user