Information technology — Security techniques — Hash-functions — Part 1: General

ISO/IEC 10118-1:2016 specifies hash-functions and is therefore applicable to the provision of authentication, integrity and non-repudiation services. Hash-functions map strings of bits of variable (but usually upper bounded) length to fixed-length strings of bits, using a specified algorithm. They can be used for - reducing a message to a short imprint for input to a digital signature mechanism, and - committing the user to a given string of bits without revealing this string. NOTE The hash-functions specified in ISO/IEC 10118 (all parts) do not involve the use of secret keys. However, these hash-functions may be used, in conjunction with secret keys, to build message authentication codes. Message Authentication Codes (MACs) provide data origin authentication as well as message integrity. Techniques for computing a MAC using a hash-function are specified in ISO/IEC 9797‑2 [1]. ISO/IEC 10118-1:2016 contains definitions, symbols, abbreviations and requirements that are common to all the other parts of ISO/IEC 10118. The criteria used to select the algorithms specified in subsequent parts of ISO/IEC 10118 are defined in Annex B of this document.

Technologies de l'information — Techniques de sécurité — Fonctions de hachage — Partie 1: Généralités

General Information

Status
Published
Publication Date
13-Oct-2016
Current Stage
9093 - International Standard confirmed
Completion Date
19-May-2022
Ref Project

Relations

Buy Standard

Standard
ISO/IEC 10118-1:2016 - Information technology -- Security techniques -- Hash-functions
English language
12 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL ISO/IEC
STANDARD 10118-1
Third edition
2016-10-15
Information technology — Security
techniques — Hash-functions —
Part 1:
General
Technologies de l’information — Techniques de sécurité — Fonctions
de hachage —
Partie 1: Généralités
Reference number
ISO/IEC 10118-1:2016(E)
©
ISO/IEC 2016

---------------------- Page: 1 ----------------------
ISO/IEC 10118-1:2016(E)

COPYRIGHT PROTECTED DOCUMENT
© ISO/IEC 2016, Published in Switzerland
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form
or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior
written permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of
the requester.
ISO copyright office
Ch. de Blandonnet 8 • CP 401
CH-1214 Vernier, Geneva, Switzerland
Tel. +41 22 749 01 11
Fax +41 22 749 09 47
copyright@iso.org
www.iso.org
ii © ISO/IEC 2016 – All rights reserved

---------------------- Page: 2 ----------------------
ISO/IEC 10118-1:2016(E)

Contents Page
Foreword .iv
1 Scope . 1
2 Normative references . 1
3 Terms and definitions . 1
4 Symbols and abbreviated terms . 2
4.1 General symbols . 2
4.2 Symbols specific to this document . 3
4.3 Coding conventions . 3
5 Requirements . 3
6 General model for hash-functions . 3
6.1 General . 3
6.2 Hashing operation . 4
6.2.1 General. 4
6.2.2 Step 1 (padding) . 4
6.2.3 Step 2 (splitting) . 4
6.2.4 Step 3 (iteration) . 4
6.2.5 Step 4 (output transformation) . 4
6.3 Use of the general model . 5
Annex A (normative) Padding methods . 6
Annex B (normative) Criteria for submission of hash-functions for possible inclusion in
ISO/IEC 10118 (all parts) . 7
Annex C (informative) Security considerations .10
Bibliography .12
© ISO/IEC 2016 – All rights reserved iii

---------------------- Page: 3 ----------------------
ISO/IEC 10118-1:2016(E)

Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that are
members of ISO or IEC participate in the development of International Standards through technical
committees established by the respective organization to deal with particular fields of technical
activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international
organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the
work. In the field of information technology, ISO and IEC have established a joint technical committee,
ISO/IEC JTC 1.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for
the different types of document should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject
of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent
rights. Details of any patent rights identified during the development of the document will be in the
Introduction and/or on the ISO list of patent declarations received (see www.iso.org/patents).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation on the meaning of ISO specific terms and expressions related to conformity assessment,
as well as information about ISO’s adherence to the World Trade Organization (WTO) principles in the
Technical Barriers to Trade (TBT) see the following URL: www.iso.org/iso/foreword.html.
The committee responsible for this document is ISO/IEC JTC 1, Information technology, Subcommittee
SC 27, IT Security techniques.
This third edition cancels and replaces the second edition (ISO/IEC 10118-1:2000), which has been
technically revised.
A list of all parts in the ISO/IEC 10118 series can be found on the ISO website.
iv © ISO/IEC 2016 – All rights reserved

---------------------- Page: 4 ----------------------
INTERNATIONAL STANDARD ISO/IEC 10118-1:2016(E)
Information technology — Security techniques — Hash-
functions —
Part 1:
General
1 Scope
ISO/IEC 10118 (all parts) specifies hash-functions and is therefore applicable to the provision of
authentication, integrity and non-repudiation services. Hash-functions map strings of bits of variable
(but usually upper bounded) length to fixed-length strings of bits, using a specified algorithm. They can
be used for
— reducing a message to a short imprint for input to a digital signature mechanism, and
— committing the user to a given string of bits without revealing this string.
NOTE The hash-functions specified in ISO/IEC 10118 (all parts) do not involve the use of secret keys.
However, these hash-functions may be used, in conjunction with secret keys, to build message authentication
codes. Message Authentication Codes (MACs) provide data origin authentication as well as message integrity.
[1]
Techniques for computing a MAC using a hash-function are specified in ISO/IEC 9797-2 .
This document contains definitions, symbols, abbreviations and requirements that are common to all
the other parts of ISO/IEC 10118. The criteria used to select the algorithms specified in subsequent
parts of ISO/IEC 10118 are defined in Annex B of this document.
2 Normative references
There are no normative references in this document.
3 Terms and definitions
For the purposes of this document, the following terms and definitions apply.
ISO and IEC maintain terminological databases for use in standardization at the following addresses:
— IEC Electropedia: available at http://www.electropedia.org/
— ISO Online browsing platform: available at http://www.iso.org/obp
3.1
collision-resistant hash-function
hash-function satisfying the following property: it is computationally infeasible to find any two distinct
inputs which map to the same output
Note 1 to entry: Computational feasibility depends on the specific security requirements and environment. Refer
to Annex C.
3.2
data string
data
string of bits which is the input to a hash-function
© ISO/IEC 2016 – All rights reserved 1

---------------------- Page: 5 ----------------------
ISO/IEC 10118-1:2016(E)

3.3
hash-code
string of bits which is the output of a hash-function
Note 1 to entry: The literature on this subject contains a variety of terms that have the same or similar meaning
as hash-code. Modification Detection Code, Manipulation Detection Code, digest, hash-result, hash-value and
imprint are some examples.
3.4
hash-function
function which maps strings of bits of variable (but usually upper bounded) length to fixed-length
strings of bits, satisfying the following two properties:
— for a given output, it is computationally infeasible to find an input which maps to this output;
— for a given input, it is computationally infeasible to find a second input which maps to the same output
Note 1 to entry: Computational feasibility depends on the specific security requirements and environment. Refer
to Annex C.
3.5
initializing value
value used in defining the starting point of a hash-function
Note 1 to entry: The literature on this subject contains a variety of terms that have the same or similar meaning
as initializing value. Initialization vector and starting value are examples.
3.6
output transformation
transformation or mapping of the output of the iteration stage to obtain the hash-code
3.7
padding
appending extra bits to a data string
3.8
round-function
function φ(.,.) that transforms two binary strings of lengths L and L to a binary string of length L
1 2 2
that is used iteratively as part of a hash-function, where it combines a data string of length L with the
1
previous output of length L or the initializing value
2
Note 1 to entry: The literature on this subject contains a variety of terms that have the same or similar meaning
as round-function. Compression function and iterative function are some examples.
4 Symbols and abbreviated terms
4.1 General symbols
For ISO/IEC 10118 (all parts), the following symbols and abbreviations are used:
a byte
B
i
D data
a block derived from the data string D after the padding process
D
i
hash-function
h
2 © ISO/IEC 2016 – All rights reserved

---------------------- Page: 6 ----------------------
ISO/IEC 10118-1:2016(E)

hash-code
H
H a string of L bits which is used in the hashing operation to store an intermediate result
i 2
initializing value
IV
length (in bits) of the first of the two input strings to the round-function
L
1
length (in bits) of the second of the two input strings to the round-function, the output string
L
from the round-function, and of the initializing value
2
length (in bits) of a string of bits X
L
X
round-function (phi)
φ
an output transformation function, e.g. truncation
T
XY|| concatenation of strings of bits X and Y in the indicated order
exclusive-or of strings of bits X and Y (where LL= )
XY⊕
XY
4.2 Symbols specific to this document
For the purpose of this document, the following symbol applies:
q number of blocks in the data string after the padding and splitting process
4.3 Coding conventions
In contexts where the terms “most significant bit/byte” and “least significant bit/byte” have a meaning
(e.g. where strings of bits/bytes are treated as numerical values), the leftmost bits/bytes of a block
shall be the most significant.
5 Requirements
The use of a hash-function requires that the parties involved shall operate upon precisely the same bit
string, even though the representation of the data may be different in each entity’s environment. This
may require one or more of the entities to convert the data into an agreed bit-string representation
prior to applying a hash-function.
Some of the hash-functions specified in ISO/IEC 10118 (all parts) require padding, so that the data
string is of the required length. Several padding methods are presented in Annex A of this document;
additional padding methods may be specified in each part of ISO/IEC 10118 where padding is needed.
6 General model for hash-functions
6.1 General
The hash-functions specified in ISO/IEC 10118 (all parts) require the use of a round-function φ . In
subsequent parts of ISO/IEC 10118, several alternatives for the function φ are specified.
The hash-functions which are specified in subsequent parts of ISO/IEC 10118 provide hash-codes of
lengthL , where L is less than or equal to the value of L for the round-function φ being used.
H H 2
© ISO/IEC 2016 – All rights reserved 3

---------------------- Page: 7 ----------------------
ISO/IEC 10118-1:2016(E)

6.2 Hashing operation
6.2.1 General
Let φ be a round-function and IV be an initializing value of length L . For the hash-functions specified
2
in subsequent parts of ISO/IEC 10118, the value of the IV shall be fixed for a given hash-function φ .
The hash-code H of the data D shall be calculated using the following four steps.
6.2.2 Step 1 (padding)
The data string D is padded in order to ensure that its length is an integer multiple of L . See Annex A
1
for more information.
6.2.3 Step 2 (splitting)
The padded version of the data string D is split into L -bit blocks DD,,.,D , where D represents
1 12 q 1
the first L bits of the padded version of D , D represents the next L bits, and so on. The padding and
1 2 1
splitting processes are illustrated in Figure 1.
Figure 1 — Padding and splitting processes
NOTE Sometimes, it is
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.