PBKDF2params
in package
AbstractYes
PBKDF2params
from https://tools.ietf.org/html/rfc2898#appendix-A.3
Tags
Table of Contents
Constants
- MAP = ['type' => \phpseclib3\File\ASN1::TYPE_SEQUENCE, 'children' => [ // technically, this is a CHOICE in RFC2898 but the other "choice" is, currently, more of a placeholder // in the RFC 'salt' => ['type' => \phpseclib3\File\ASN1::TYPE_OCTET_STRING], 'iterationCount' => ['type' => \phpseclib3\File\ASN1::TYPE_INTEGER], 'keyLength' => ['type' => \phpseclib3\File\ASN1::TYPE_INTEGER, 'optional' => true], 'prf' => \phpseclib3\File\ASN1\Maps\AlgorithmIdentifier::MAP + ['optional' => true], ]]
Constants
MAP
public
mixed
MAP
= ['type' => \phpseclib3\File\ASN1::TYPE_SEQUENCE, 'children' => [
// technically, this is a CHOICE in RFC2898 but the other "choice" is, currently, more of a placeholder
// in the RFC
'salt' => ['type' => \phpseclib3\File\ASN1::TYPE_OCTET_STRING],
'iterationCount' => ['type' => \phpseclib3\File\ASN1::TYPE_INTEGER],
'keyLength' => ['type' => \phpseclib3\File\ASN1::TYPE_INTEGER, 'optional' => true],
'prf' => \phpseclib3\File\ASN1\Maps\AlgorithmIdentifier::MAP + ['optional' => true],
]]