Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
b5f83022
Commit
b5f83022
authored
Jun 28, 2016
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs
parent
984cb253
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
40 additions
and
8 deletions
+40
-8
Docs.md
.doc/Docs.md
+28
-0
README.md
README.md
+5
-1
IDEA.php
Security/Crypto/IDEA.php
+4
-4
Session.php
Session.php
+1
-1
B64Safe.php
Tool/URL/B64Safe.php
+2
-2
No files found.
.doc/Docs.md
0 → 100644
View file @
b5f83022
[
Repo
](
/README.md
)
# Docs
required PHP => 5.6
CLASS:
[
X\Accounting\Session
](
/.doc/Accounting/Session.md
)
- Sessions
[
X\Cache\Memcache
](
/.doc/Cache\Memcache.md
)
- Кэширование Memcache
[
X\ETrace\ECollection
](
/.doc/ETrace\ECollection.md
)
- Коллекция отлова шибок
[
X\ETrace\EItem
](
/.doc/ETrace/EItem.md
)
- Объект коллекции отлова ошибок
[
X\ETrace\Error
](
/.doc/ETrace/Error.md
)
- Для отлова ошибок движка
[
X\ETrace\Fatal
](
/.doc/ETrace/Fatal.md
)
- Отлов фатальных ошибок
[
X\ETrace\Import
](
/.doc/ETrace/Import.md
)
- Импорт сторонних исключений
[
X\ETrace\Notification
](
/.doc/ETrace/Notification.md
)
- Уведомление
[
X\ETrace\Paranoid
](
/.doc/ETrace/Paranoid.md
)
- Параноидальный лог
[
X\ETrace\System
](
/.doc/ETrace/System.md
)
- Системный лог
[
X\ETrace\Trace
](
/.doc/ETrace/Trace.md
)
- Прастая трасировка
[
X_Input_RequestItem
](
/.doc/Input/RequestItem.md
)
- Обрадотка вводимых данных
*
[
X_Input_MethodCookieItem
](
/.doc/Input/MethodCookieItem.md
)
- -""-
*
[
X_Input_MethodGetItem
](
/.doc/Input/MethodGetItem.md
)
- -""-
*
[
X_Input_MethodPostItem
](
/.doc/Input/MethodPostItem.md
)
- -""-
[
X\Security\Crypto\IDEA
](
/.doc/Security/Crypto/IDEA.md
)
- Шифрование IDEA
TRAIT:
[
X\Tool\Strings\CharHEX
](
/.doc/Tool/Strings/CharHEX.md
)
- Преобразование символов
[
X\Tool\URL\B64Safe
](
/.doc/Tool/URL/B64Safe.md
)
- Преобразование base64
[
X\Tool\BitwiseCyclicShift
](
/.doc/Tool/BitwiseCyclicShift.md
)
- побитовый циклический сдвиг на php
[
X\Tool\IP
](
/.doc/Tool/IP.md
)
- взять ip адрес клиента
\ No newline at end of file
README.md
View file @
b5f83022
README.md file
\ No newline at end of file
# X-Lib
Инструменты общего назначения для личного пользования.
[
Документация
](
/.doc/Docs.md
)
\ No newline at end of file
Security/Crypto/IDEA.php
View file @
b5f83022
...
...
@@ -6,7 +6,7 @@ class IDEA {
use
\X\Tool\Strings\CharHEX
;
// protected function urlSafeB64Encode
// protected function urlSafeB64Decode
use
\X\Tool\URL\
url
Safe
;
use
\X\Tool\URL\
B64
Safe
;
/**
* @var hex
...
...
@@ -70,7 +70,7 @@ class IDEA {
}
/**
* @param $HEX
* @param
$HEX
* @return mixed
*/
protected
function
decrypt_hex
(
$HEX
)
// : Array
...
...
@@ -79,7 +79,7 @@ class IDEA {
}
/**
* @param $Data
* @param
$Data
* @return mixed
*/
protected
function
crypt_b64
(
$Data
)
// : string // Base64
...
...
@@ -88,7 +88,7 @@ class IDEA {
}
/**
* @param $B64
* @param
$B64
* @return mixed
*/
protected
function
decrypt_b64
(
$B64
)
// : Array
...
...
Session.php
View file @
b5f83022
...
...
@@ -2,7 +2,7 @@
class
X_Session
{
// protected function urlSafeB64Encode
// protected function urlSafeB64Decode
use
\X\Tool\URL\
url
Safe
;
use
\X\Tool\URL\
B64
Safe
;
/**
* @var mixed
...
...
Tool/URL/
url
Safe.php
→
Tool/URL/
B64
Safe.php
View file @
b5f83022
<?php
namespace
X\Tool
;
namespace
X\Tool
\URL
;
trait
url
Safe
{
trait
B64
Safe
{
/**
* @param $data
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment