platform/api/laravel/Hashing/Argon2IdHasher.yaml

53 lines
927 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: Argon2IdHasher
class_comment: null
dependencies:
- name: RuntimeException
type: class
source: RuntimeException
properties: []
methods:
- name: check
visibility: public
parameters:
- name: value
- name: hashedValue
- name: options
default: '[]'
comment: '# * Check the given plain value against a hash.
# *
# * @param string $value
# * @param string|null $hashedValue
# * @param array $options
# * @return bool
# *
# * @throws \RuntimeException'
- name: isUsingCorrectAlgorithm
visibility: protected
parameters:
- name: hashedValue
comment: '# * Verify the hashed value''s algorithm.
# *
# * @param string $hashedValue
# * @return bool'
- name: algorithm
visibility: protected
parameters: []
comment: '# * Get the algorithm that should be used for hashing.
# *
# * @return int'
traits:
- RuntimeException
interfaces: []