/* * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined * in FIPS PUB 180-1 * Version 2.1 Copyright…
sha1 源代码
SHA1是一种广泛应用于数据安全领域的哈希算法,以其高效性和安全性著称。尽管近年来面临一定的破解风险,它仍然是许多系统中不可或缺的安全组件之一,尤其在数字签名、文件完整性验证等方面发挥着重要作用。对于电子工程师而言,深入理解SHA1的工作原理及其局限性,有助于更好地设计和实现更加…
// sha1.h // This file from UnRar sources #ifndef _RAR_SHA1_ #define _RAR_SHA1_ #define HW 5 typedef struct { UINT32 sta…
// sha1.cpp // This file from UnRar sources #include "StdAfx.h" #include "sha1.h" /* SHA-1 in C By Steve Reid 100% Public…
# just for compatibility; requiring "sha1" is obsoleted # # $RoughId: sha1.rb,v 1.4 2001/07/13 15:38:27 knu Exp $ # $Id: sha1.rb,v…
/* $NetBSD: sha1.c,v 1.2 2001/03/22 09:51:48 agc Exp $ */ /* $OpenBSD: sha1.c,v 1.9 1997/07/23 21:12:32 kstailey Exp $ */ /* $Roug…
/* $NetBSD: sha1.h,v 1.2 1998/05/29 22:55:44 thorpej Exp $ */ /* $RoughId: sha1.h,v 1.3 2002/02/24 08:14:32 knu Exp $ */ /* $Id: s…
/* * ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c * * SHA-1 in C * By Steve Reid * 100% Public Domain * * Stripped down t…
/* sha1.h */ /* If OpenSSL is in use, then use that version of SHA-1 */ #ifdef OPENSSL #include #define __SHA1_INCLUDE_ #endif …
/* * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * …
/* crypto/sha/sha1.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an…