C# 클래스 Delay.MD5Managed

MD5Managed: A HashAlgorithm implementation that acts as a thin wrapper around a C# translation of the MD5 reference implementation. The C code has been translated as closely as possible so that most of the original structure remains and comparisons between the two are straightforward.
Derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm. Specification: RFC1321 - The MD5 Message-Digest Algorithm http://www.faqs.org/rfcs/rfc1321.html Original license: Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved. License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software.
상속: System.Security.Cryptography.HashAlgorithm
파일 보기 프로젝트 열기: pieceofsummer/TouchRemote

Private Properties

프로퍼티 타입 설명
Decode void
Encode void
F uint
FF void
G uint
GG void
H uint
HH void
I uint
II void
InitializeVariables void
MD5Final void
MD5Init void
MD5Managed System
MD5Transform void
MD5Update void
ROTATE_LEFT uint

공개 메소드들

메소드 설명
Initialize ( ) : void

Initializes internal state.

보호된 메소드들

메소드 설명
HashCore ( byte array, int ibStart, int cbSize ) : void

Updates the hash code with the data provided.

HashFinal ( ) : byte[]

Finalizes the hash code and returns it.

비공개 메소드들

메소드 설명
Decode ( uint output, byte input, uint inputIndex, uint len ) : void
Encode ( byte output, uint input, uint len ) : void
F ( uint x, uint y, uint z ) : uint
FF ( uint &a, uint b, uint c, uint d, uint x, int s, uint ac ) : void
G ( uint x, uint y, uint z ) : uint
GG ( uint &a, uint b, uint c, uint d, uint x, int s, uint ac ) : void
H ( uint x, uint y, uint z ) : uint
HH ( uint &a, uint b, uint c, uint d, uint x, int s, uint ac ) : void
I ( uint x, uint y, uint z ) : uint
II ( uint &a, uint b, uint c, uint d, uint x, int s, uint ac ) : void
InitializeVariables ( ) : void

Initializes variables.

MD5Final ( byte digest, MD5_CTX context ) : void
MD5Init ( MD5_CTX context ) : void
MD5Managed ( ) : System
MD5Transform ( uint state, byte block, uint blockIndex ) : void
MD5Update ( MD5_CTX context, byte input, uint inputIndex, uint inputLen ) : void
ROTATE_LEFT ( uint x, int n ) : uint

메소드 상세

HashCore() 보호된 메소드

Updates the hash code with the data provided.
protected HashCore ( byte array, int ibStart, int cbSize ) : void
array byte Data to hash.
ibStart int Start position.
cbSize int Number of bytes.
리턴 void

HashFinal() 보호된 메소드

Finalizes the hash code and returns it.
protected HashFinal ( ) : byte[]
리턴 byte[]

Initialize() 공개 메소드

Initializes internal state.
public Initialize ( ) : void
리턴 void