Cryptology ePrint Archive: Report 2021/689

OSHA: A General-purpose One-way Secure Hash Algorithm

Ripon Patgiri

Abstract: Secure hash functions are widely used cryptographic algorithms to secure diverse attacks. A one-way secure hash function is used in the various cryptographic area, for instance, password protection. However, most of the hash functions provide security based on static parameters and publicly known operations. Therefore, it becomes easier to attack by the attackers because all parameters and operations are predefined. The publicly known parameters and predefined operations make the oracle regenerate the key even though it is a one-way secure hash function. Moreover, the key (sensitive data) is mixed with the predefined constant where an oracle may find a way to discover the key. To address the above issues of the secure hash functions, we propose a novel and one-way secure hash algorithm, OSHA for short, to protect sensitive data against attackers. OSHA depends on a pseudo-random number generator to generate a private key. Moreover, OSHA mixes multiple private keys to generate a hash value. Furthermore, OSHA uses dynamic parameters, which is difficult for adversaries to guess. Unlike conventional secure hash algorithms, OSHA does not depend on fixed constants. It replaces the fixed constant with the private keys. Also, the key is not mixed with the private keys; hence, there is no way to recover and reverse the process for the adversaries.

Category / Keywords: foundations / Secure hash algorithms, Hash functions, Attacks, Cryptanalysis, Security, Cryptography

Date: received 25 May 2021, last revised 18 Aug 2021

Contact author: ripon at cse nits ac in

Available format(s): PDF | BibTeX Citation

Version: 20210818:221145 (All versions of this report)

Short URL: ia.cr/2021/689


[ Cryptology ePrint archive ]