api/laravel/Hashing/Argon2IdHasher.yaml
2024-09-26 02:03:21 -07:00

52 lines
927 B
YAML

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: []