Internet Engineering Task Force (IETF)                          A. Bryan
Request for Comments: 5843                                    April 2010
Category: Informational
ISSN: 2070-1721
        
Internet Engineering Task Force (IETF)                          A. Bryan
Request for Comments: 5843                                    April 2010
Category: Informational
ISSN: 2070-1721
        

Additional Hash Algorithms for HTTP Instance Digests

HTTP实例摘要的附加哈希算法

Abstract

摘要

The IANA registry named "Hypertext Transfer Protocol (HTTP) Digest Algorithm Values" defines values for digest algorithms used by Instance Digests in HTTP. Instance Digests in HTTP provide a digest, also known as a checksum or hash, of an entire representation of the current state of a resource. This document adds new values to the registry and updates previous values.

名为“超文本传输协议(HTTP)摘要算法值”的IANA注册表定义了HTTP中实例摘要使用的摘要算法的值。HTTP中的实例摘要提供资源当前状态的完整表示的摘要,也称为校验和或哈希。此文档向注册表添加新值并更新以前的值。

Status of This Memo

关于下段备忘

This document is not an Internet Standards Track specification; it is published for informational purposes.

本文件不是互联网标准跟踪规范;它是为了提供信息而发布的。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Not all documents approved by the IESG are a candidate for any level of Internet Standard; see Section 2 of RFC 5741.

本文件是互联网工程任务组(IETF)的产品。它代表了IETF社区的共识。它已经接受了公众审查,并已被互联网工程指导小组(IESG)批准出版。并非IESG批准的所有文件都适用于任何级别的互联网标准;见RFC 5741第2节。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc5843.

有关本文件当前状态、任何勘误表以及如何提供反馈的信息,请访问http://www.rfc-editor.org/info/rfc5843.

Copyright Notice

版权公告

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

版权所有(c)2010 IETF信托基金和确定为文件作者的人员。版权所有。

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.

本文件受BCP 78和IETF信托有关IETF文件的法律规定的约束(http://trustee.ietf.org/license-info)自本文件出版之日起生效。请仔细阅读这些文件,因为它们描述了您对本文件的权利和限制。从本文件中提取的代码组件必须包括信托法律条款第4.e节中所述的简化BSD许可证文本,并提供简化BSD许可证中所述的无担保。

Table of Contents

目录

   1. Introduction ....................................................2
      1.1. Example ....................................................2
   2. IANA Considerations .............................................2
      2.1. Previous Registrations Updated .............................2
      2.2. New Registrations ..........................................3
   3. Security Considerations .........................................3
   4. Changes Compared to RFC 3230 ....................................3
   5. Normative References ............................................4
   Appendix A. Acknowledgements and Contributors ......................5
        
   1. Introduction ....................................................2
      1.1. Example ....................................................2
   2. IANA Considerations .............................................2
      2.1. Previous Registrations Updated .............................2
      2.2. New Registrations ..........................................3
   3. Security Considerations .........................................3
   4. Changes Compared to RFC 3230 ....................................3
   5. Normative References ............................................4
   Appendix A. Acknowledgements and Contributors ......................5
        
1. Introduction
1. 介绍

The IANA registry named "Hypertext Transfer Protocol (HTTP) Digest Algorithm Values" defines values for digest algorithms used by Instance Digests in HTTP.

名为“超文本传输协议(HTTP)摘要算法值”的IANA注册表定义了HTTP中实例摘要使用的摘要算法的值。

Note: This is unrelated to HTTP Digest Authentication. Instance Digests in HTTP provide a digest, also known as a checksum or hash, of an entire representation of the current state of a resource.

注意:这与HTTP摘要身份验证无关。HTTP中的实例摘要提供资源当前状态的完整表示的摘要,也称为校验和或哈希。

The registry was created by [RFC3230] in 2002. This document adds new values to the registry and updates previous values that had redundant or outdated references.

注册中心由[RFC3230]于2002年创建。此文档向注册表添加新值,并更新具有冗余或过期引用的以前的值。

1.1. Example
1.1. 实例

Example of Instance Digest for SHA-256:

SHA-256的实例摘要示例:

   Digest: SHA-256=MWVkMWQxYTRiMzk5MDQ0MzI3NGU5NDEyZTk5OWY1ZGFmNzgyZTJlO
   DYzYjRjYzFhOTlmNTQwYzI2M2QwM2U2MQ==
        
   Digest: SHA-256=MWVkMWQxYTRiMzk5MDQ0MzI3NGU5NDEyZTk5OWY1ZGFmNzgyZTJlO
   DYzYjRjYzFhOTlmNTQwYzI2M2QwM2U2MQ==
        
2. IANA Considerations
2. IANA考虑

This document makes use of the IANA registry named "Hypertext Transfer Protocol (HTTP) Digest Algorithm Values" specified in [RFC3230].

本文档使用了[RFC3230]中指定的名为“超文本传输协议(HTTP)摘要算法值”的IANA注册表。

2.1. Previous Registrations Updated
2.1. 更新以前的注册

Accordingly, IANA has updated the following registrations:

因此,IANA更新了以下注册:

Digest Algorithm: MD5

摘要算法:MD5

Description: The MD5 algorithm, as specified in [RFC1321]. The output of this algorithm is encoded using the base64 encoding [RFC4648].

描述:MD5算法,如[RFC1321]中所述。此算法的输出使用base64编码[RFC4648]进行编码。

Reference: [RFC1321], [RFC4648], this document.

参考文献:[RFC1321],[RFC4648],本文件。

Digest Algorithm: SHA

摘要算法:SHA

Description: The SHA-1 algorithm [FIPS-180-3]. The output of this algorithm is encoded using the base64 encoding [RFC4648].

描述:SHA-1算法[FIPS-180-3]。此算法的输出使用base64编码[RFC4648]进行编码。

Reference: [FIPS-180-3], [RFC4648], this document.

参考文献:[FIPS-180-3],[RFC4648],本文件。

2.2. New Registrations
2.2. 新登记

Accordingly, IANA has made the following registrations:

因此,IANA进行了以下注册:

Digest Algorithm: SHA-256

摘要算法:SHA-256

Description: The SHA-256 algorithm [FIPS-180-3]. The output of this algorithm is encoded using the base64 encoding [RFC4648].

描述:SHA-256算法[FIPS-180-3]。此算法的输出使用base64编码[RFC4648]进行编码。

Reference: [FIPS-180-3], [RFC4648], this document.

参考文献:[FIPS-180-3],[RFC4648],本文件。

Digest Algorithm: SHA-512

摘要算法:SHA-512

Description: The SHA-512 algorithm [FIPS-180-3]. The output of this algorithm is encoded using the base64 encoding [RFC4648].

描述:SHA-512算法[FIPS-180-3]。此算法的输出使用base64编码[RFC4648]进行编码。

Reference: [FIPS-180-3], [RFC4648], this document.

参考文献:[FIPS-180-3],[RFC4648],本文件。

3. Security Considerations
3. 安全考虑

Same as [RFC3230].

与[RFC3230]相同。

4. Changes Compared to RFC 3230
4. 与RFC 3230相比的变化

The reference for base64 encoding has been updated for both MD5 and SHA.

MD5和SHA的base64编码参考都已更新。

The reference for SHA has been updated.

SHA的参考已更新。

The SHA-256 and SHA-512 algorithms have been added to the registry.

SHA-256和SHA-512算法已添加到注册表中。

All other previous values to the registry are still valid.

注册表中以前的所有其他值仍然有效。

5. Normative References
5. 规范性引用文件

[FIPS-180-3] National Institute of Standards and Technology (NIST), "Secure Hash Standard (SHS)", FIPS PUB 180-3, October 2008.

[FIPS-180-3]国家标准与技术研究所(NIST),“安全哈希标准(SHS)”,FIPS PUB 180-3,2008年10月。

[RFC1321] Rivest, R., "The MD5 Message-Digest Algorithm", RFC 1321, April 1992.

[RFC1321]Rivest,R.,“MD5消息摘要算法”,RFC13211992年4月。

[RFC3230] Mogul, J. and A. Van Hoff, "Instance Digests in HTTP", RFC 3230, January 2002.

[RFC3230]Mogul,J.和A.Van Hoff,“HTTP中的实例摘要”,RFC 3230,2002年1月。

[RFC4648] Josefsson, S., "The Base16, Base32, and Base64 Data Encodings", RFC 4648, October 2006.

[RFC4648]Josefsson,S.,“Base16、Base32和Base64数据编码”,RFC4648,2006年10月。

Appendix A. Acknowledgements and Contributors
附录A.致谢和贡献者

Thanks to Mark Nottingham, Eran Hammer-Lahav, Nils Maier, Lisa Dusseault, Alfred Hoenes, Pasi Eronen, Gonzalo Camarillo, Radia Perlman, and Jeffrey Mogul.

感谢马克·诺丁汉、埃兰·哈默·拉哈夫、尼尔斯·梅尔、丽莎·杜肖奥、阿尔弗雷德·霍恩斯、帕西·埃隆、冈萨洛·卡马里洛、拉迪亚·帕尔曼和杰弗里·莫格尔。

Author's Address

作者地址

Anthony Bryan Pompano Beach, FL USA

安东尼·布莱恩·蓬帕诺海滩,美国佛罗里达州

   EMail: anthonybryan@gmail.com
   URI:   http://www.metalinker.org
        
   EMail: anthonybryan@gmail.com
   URI:   http://www.metalinker.org