Sha1

haxe.crypto.Sha1 (Class)

Creates a Sha1 of a String.

Static Members

Name Type
b haxe.io.Bytes
Returns
haxe.io.Bytes

Private Members

bytes2blks(b: haxe.io.Bytes): Array<Int>
Name Type
b haxe.io.Bytes
Returns
Array<Int>

doEncode(x: Array<Int>): Array<Int>
Name Type
x Array<Int>
Returns
Array<Int>

rol(num: Int, cnt: Int): Int

Bitwise rotate a 32-bit number to the left

Name Type
num Int
cnt Int
Returns
Int

ft(t: Int, b: Int, c: Int, d: Int): Int

Perform the appropriate triplet combination function for the current iteration

Name Type
t Int
b Int
c Int
d Int
Returns
Int

kt(t: Int): Int

Determine the appropriate additive constant for the current iteration

Name Type
t Int
Returns
Int

new(): Void