Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
8c226e9d
Commit
8c226e9d
authored
Aug 22, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweaking crypter class.
parent
ce8c230e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
laravel/crypter.php
+7
-2
No files found.
laravel/crypter.php
View file @
8c226e9d
...
@@ -46,6 +46,11 @@ class Crypter {
...
@@ -46,6 +46,11 @@ class Crypter {
/**
/**
* Create a new Crypter instance.
* Create a new Crypter instance.
*
*
* Any cipher and mode supported by Mcrypt may be specified. For more information regarding
* the supported ciphers and modes, check out: http://php.net/manual/en/mcrypt.ciphers.php
*
* By default, the AES-256 cipher will be used in CBC mode.
*
* @param string $cipher
* @param string $cipher
* @param string $mode
* @param string $mode
* @param string $key
* @param string $key
...
@@ -57,7 +62,7 @@ class Crypter {
...
@@ -57,7 +62,7 @@ class Crypter {
}
}
/**
/**
* Encrypt a
value using the MCrypt library
.
* Encrypt a
string using Mcrypt
.
*
*
* @param string $value
* @param string $value
* @return string
* @return string
...
@@ -89,7 +94,7 @@ class Crypter {
...
@@ -89,7 +94,7 @@ class Crypter {
}
}
/**
/**
* Decrypt a
value using the MCrypt library
.
* Decrypt a
string using Mcrypt
.
*
*
* @param string $value
* @param string $value
* @return string
* @return string
...
...
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