Friday, 6 May 2016
Yii2 encryt decrypt
//Controller header
use yii\base\Security;
//Controller code
echo Yii::$app->security->encryptByKey($timekey, "bsquaresoft");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment