Click here to Skip to main content
15,884,838 members
Articles / Programming Languages / C++

ReHash - A console-based hash calculator

Rate me:
Please Sign up or sign in to vote.
4.43/5 (45 votes)
11 Apr 20033 min read 258.8K   12.6K   116  
A console-based hash calculator. Supported algorithms: CRC-16, CRC-16-CCITT, CRC-32, FCS-16, FCS-32, GHash-32-3, GHash-32-5, GOST-Hash, HAVAL-5-256, MD2, MD4, MD5, SHA-1, SHA-256, SHA-384, SHA-512, Tiger.
/*
	---------------------------------------------------------------------------
	Copyright (c) 2003, Dominik Reichl <dominik.reichl@t-online.de>, Germany.
	All rights reserved.

	Distributed under the terms of the GNU General Public License v2.

	This software is provided 'as is' with no explicit or implied warranties
	in respect of its properties, including, but not limited to, correctness 
	and/or fitness for purpose.
	---------------------------------------------------------------------------
*/

// ReichlSoft Command Line Utilities
// Version 2.0

#ifndef ___CL_UTIL_H___
#define ___CL_UTIL_H___

#include "rhsyscfg.h"

bool isArgument(char *pszString);
void fmtArgument(char *pszArg, char *pszDest);
void fmtPath(char *pszPath);

void catdirsep(char *pszPath);
void pathonly(char *pszPath);
void fileonly(char *pszPath);
bool ispathnav(char *pszPath);

#endif // ___CL_UTIL_H___

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer
Unknown
Dominik started programming in Omikron Basic, a programming language for the good old Atari ST. After this, there was some short period of QBasic programming on the PC, but soon he began learning C++, which is his favorite language up to now.

Today, his programming experience includes C / C++ / [Visual] C++ [MFC], C#/.NET, Java, JavaScript, PHP and HTML and the basics of pure assembler.

He is interested in almost everything that has to do with computing; his special interests are security, cryptography and data compression.

You can find his latest freeware, open source projects and articles on his website: https://www.dominik-reichl.de/.

Comments and Discussions