C# 클래스 SharpCifs.Util.Md4

Implements the MD4 message digest algorithm in Java.
Implements the MD4 message digest algorithm in Java.

References:

  1. Ronald L. Rivest, " The MD4 Message-Digest Algorithm", IETF RFC-1320 (informational).

$Revision: 1.2 $

상속: SharpCifs.Util.Sharpen.MessageDigest
파일 보기 프로젝트 열기: brandonprry/Potato 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : object

Returns a copy of this MD object.

Returns a copy of this MD object.

Digest ( ) : byte[]
GetDigestLength ( ) : int
Md4 ( ) : System
Reset ( ) : void
Update ( byte b ) : void
Update ( byte b, int offset, int len ) : void

보호된 메소드들

메소드 설명
EngineDigest ( ) : byte[]

Completes the hash computation by performing final operations such as padding.

Completes the hash computation by performing final operations such as padding. At the return of this engineDigest, the MD engine is reset.

EngineReset ( ) : void

Resets this object disregarding any temporary data present at the time of the invocation of this call.

Resets this object disregarding any temporary data present at the time of the invocation of this call.

EngineUpdate ( byte b ) : void

Continues an MD4 message digest using the input byte.

Continues an MD4 message digest using the input byte.

EngineUpdate ( byte input, int offset, int len ) : void

MD4 block update operation.

MD4 block update operation.

Continues an MD4 message digest operation, by filling the buffer, transform(ing) data in 512-bit message block(s), updating the variables context and count, and leaving (buffering) the remaining bytes in buffer for the next update or finish.

비공개 메소드들

메소드 설명
Ff ( int a, int b, int c, int d, int x, int s ) : int
Gg ( int a, int b, int c, int d, int x, int s ) : int
Hh ( int a, int b, int c, int d, int x, int s ) : int
Md4 ( Md4 md ) : System

This constructor is here to implement cloneability of this class.

This constructor is here to implement cloneability of this class.

Transform ( byte block, int offset ) : void

MD4 basic transformation.

MD4 basic transformation.

Transforms context based on 512 bits from input block starting from the offset'th byte.

메소드 상세

Clone() 공개 메소드

Returns a copy of this MD object.
Returns a copy of this MD object.
public Clone ( ) : object
리턴 object

Digest() 공개 메소드

public Digest ( ) : byte[]
리턴 byte[]

EngineDigest() 보호된 메소드

Completes the hash computation by performing final operations such as padding.
Completes the hash computation by performing final operations such as padding. At the return of this engineDigest, the MD engine is reset.
protected EngineDigest ( ) : byte[]
리턴 byte[]

EngineReset() 보호된 메소드

Resets this object disregarding any temporary data present at the time of the invocation of this call.
Resets this object disregarding any temporary data present at the time of the invocation of this call.
protected EngineReset ( ) : void
리턴 void

EngineUpdate() 보호된 메소드

Continues an MD4 message digest using the input byte.
Continues an MD4 message digest using the input byte.
protected EngineUpdate ( byte b ) : void
b byte
리턴 void

EngineUpdate() 보호된 메소드

MD4 block update operation.
MD4 block update operation.

Continues an MD4 message digest operation, by filling the buffer, transform(ing) data in 512-bit message block(s), updating the variables context and count, and leaving (buffering) the remaining bytes in buffer for the next update or finish.

protected EngineUpdate ( byte input, int offset, int len ) : void
input byte input block
offset int start of meaningful bytes in input
len int count of bytes in input block to consider
리턴 void

GetDigestLength() 공개 메소드

public GetDigestLength ( ) : int
리턴 int

Md4() 공개 메소드

public Md4 ( ) : System
리턴 System

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Update() 공개 메소드

public Update ( byte b ) : void
b byte
리턴 void

Update() 공개 메소드

public Update ( byte b, int offset, int len ) : void
b byte
offset int
len int
리턴 void