service/models/Credential.php
/**
     * Returns decrypted data
     *
     * @param  string $data
     * @return string
     */
Returns decrypted data
@param  string $data
@return string
Returns decrypted data @param string $data @return string
private function decrypt($data)
    {
        $key = Yii::$app->service->getParam('encryptKey');
        return Yii::$app->security->decryptByKey(utf8_decode($data), $key);
    }
private function decrypt ( $ data ) { $ key = Yii :: $ app -> service -> getParam ( 'encryptKey' ) ; return Yii :: $ app -> security -> decryptByKey ( utf8_decode ( $ data ) , $ key ) ; }
Returns decrypted data
 @param  string $data
 @return string
Returns decrypted data @param string $data @return string