PKCS #5: Password-Based Cryptography Specification Version 2.1
draft-moriarty-pkcs5-v2dot1-04

Document Type Active Internet-Draft (individual in sec area)
Last updated 2016-10-28 (latest revision 2016-09-06)
Stream IETF
Intended RFC status Informational
Formats plain text pdf html bibtex
Reviews
Stream WG state (None)
Document shepherd No shepherd assigned
Shepherd write-up Show (last changed 2016-09-05)
IESG IESG state RFC Ed Queue
Consensus Boilerplate Yes
Telechat date
Responsible AD Stephen Farrell
Send notices to (None)
IANA IANA review state IANA OK - No Actions Needed
IANA action state No IC
RFC Editor RFC Editor state AUTH48
INTERNET-DRAFT                                          K. Moriarty, Ed.
Intended Status: Informational                                       EMC
Obsoletes: 2898 (once approved)                               B. Kaliski
Expires: March 13, 2017                                         Verisign
                                                                A. Rusch
                                                                     RSA
                                                       September 6, 2016

           PKCS #5: Password-Based Cryptography Specification
                              Version 2.1
                     draft-moriarty-pkcs5-v2dot1-04

Abstract

   This document provides recommendations for the implementation of
   password-based cryptography, covering key derivation functions,
   encryption schemes, message-authentication schemes, and ASN.1 syntax
   identifying the techniques.

   The recommendations are intended for general application within
   computer and communications systems, and as such include a fair
   amount of flexibility. They are particularly intended for the
   protection of sensitive information such as private keys, as in PKCS
   #8. It is expected that application standards and implementation
   profiles based on these specifications may include additional
   constraints.

   Other cryptographic techniques based on passwords, such as password-
   based key entity authentication and key establishment protocols are
   outside the scope of this document.  Guidelines for the selection of
   passwords are also outside the scope.

   This document represents a republication of PKCS #5 v2.1 from RSA
   Laboratories' Public-Key Cryptography Standards (PKCS) series. By
   publishing this RFC, change control is transferred to the IETF.

   This document also obsoletes RFC 2898.

Status of this Memo

   This Internet-Draft is submitted to IETF in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/1id-abstracts.html

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html

Copyright and License Notice

   Copyright (c) 2016 IETF Trust and the persons identified as the
   document authors. All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document. Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document. Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1. Introduction  . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2. Notation  . . . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3. Overview  . . . . . . . . . . . . . . . . . . . . . . . . . . .  5
   4. Salt and Iteration Count  . . . . . . . . . . . . . . . . . . .  6
     4.1. Salt  . . . . . . . . . . . . . . . . . . . . . . . . . . .  6
     4.2. Iteration Count . . . . . . . . . . . . . . . . . . . . . .  8
   5. Key Derivation Functions  . . . . . . . . . . . . . . . . . . .  8
     5.1. PBKDF1  . . . . . . . . . . . . . . . . . . . . . . . . . .  9
     5.2. PBKDF2  . . . . . . . . . . . . . . . . . . . . . . . . . . 10
   6. Encryption Schemes  . . . . . . . . . . . . . . . . . . . . . . 12
     6.1. PBES1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
       6.1.1. PBES1 Encryption Operation . . . . . . . .  . . . . . . 12
       6.1.2. PBES1 Decryption Operation  . . . . . . . . . . . . . . 13
     6.2. PBES2 . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
       6.2.1. PBES2 Encryption Operation  . . . . . . . . . . . . . . 14
       6.2.2. PBES2 Decryption Operation  . . . . . . . . . . . . . . 15
   7. Message Authentication Schemes  . . . . . . . . . . . . . . . . 16
     7.1. PBMAC1  . . . . . . . . . . . . . . . . . . . . . . . . . . 16
       7.1.1 PBMAC1 Generation Operation  . . . . . . . . . . . . . . 16
       7.1.2. PBMAC1 Verification Operation . . . . . . . . . . . . . 17
   8. Security Considerations . . . . . . . . . . . . . . . . . . . . 17
Show full document text