Vous êtes connecté en tant que anonymous Se Deconnecter
Browse code

Application modulaire fonctionnelle !

Emmanuel ROY authored on 12/08/2019 15:10:25
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,42 +0,0 @@
1
-<?php
2
-
3
-namespace Illuminate\Contracts\Hashing;
4
-
5
-interface Hasher
6
-{
7
-    /**
8
-     * Get information about the given hashed value.
9
-     *
10
-     * @param  string  $hashedValue
11
-     * @return array
12
-     */
13
-    public function info($hashedValue);
14
-
15
-    /**
16
-     * Hash the given value.
17
-     *
18
-     * @param  string  $value
19
-     * @param  array   $options
20
-     * @return string
21
-     */
22
-    public function make($value, array $options = []);
23
-
24
-    /**
25
-     * Check the given plain value against a hash.
26
-     *
27
-     * @param  string  $value
28
-     * @param  string  $hashedValue
29
-     * @param  array   $options
30
-     * @return bool
31
-     */
32
-    public function check($value, $hashedValue, array $options = []);
33
-
34
-    /**
35
-     * Check if the given hash has been hashed using the given options.
36
-     *
37
-     * @param  string  $hashedValue
38
-     * @param  array   $options
39
-     * @return bool
40
-     */
41
-    public function needsRehash($hashedValue, array $options = []);
42
-}
Browse code

initial commit

Emmanuel ROY authored on 09/08/2019 08:39:02
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,42 @@
1
+<?php
2
+
3
+namespace Illuminate\Contracts\Hashing;
4
+
5
+interface Hasher
6
+{
7
+    /**
8
+     * Get information about the given hashed value.
9
+     *
10
+     * @param  string  $hashedValue
11
+     * @return array
12
+     */
13
+    public function info($hashedValue);
14
+
15
+    /**
16
+     * Hash the given value.
17
+     *
18
+     * @param  string  $value
19
+     * @param  array   $options
20
+     * @return string
21
+     */
22
+    public function make($value, array $options = []);
23
+
24
+    /**
25
+     * Check the given plain value against a hash.
26
+     *
27
+     * @param  string  $value
28
+     * @param  string  $hashedValue
29
+     * @param  array   $options
30
+     * @return bool
31
+     */
32
+    public function check($value, $hashedValue, array $options = []);
33
+
34
+    /**
35
+     * Check if the given hash has been hashed using the given options.
36
+     *
37
+     * @param  string  $hashedValue
38
+     * @param  array   $options
39
+     * @return bool
40
+     */
41
+    public function needsRehash($hashedValue, array $options = []);
42
+}