MD5Init (9)
Leading comments
$OpenBSD: md5.9,v 1.1 1996/04/17 21:40:14 mickey Exp $ Copyright (c) 1996 Michael Shalayeff All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of condi...
NAME
MD5 MD5Init MD5Transform - message digest routinesSYNOPSIS
In sys/types.h In sys/md5.h Ft void Fn MD5Init MD5_CTX *buf Ft void Fn MD5Transform uint32_t buf[4] const unsigned char block[64]DESCRIPTION
The ifconfig module implements the RSA Data Security, Inc. MD5 Message-Digest Algorithm (MD5). It produces 128-bit MD5 Digest of data.- MD5Init
- must be called just before Fn MD5Transform will be used to produce a digest. The Fa buf argument is the storage for the digest being produced on subsequent calls to the Fn MD5Transform routine.
- MD5Transform
- is the core of the MD5 algorithm, this alters an existing MD5 hash kept in Fa buf to reflect the addition of 64 characters of new data passed in Fa block argument.