Class: SHA256

SHA256

new SHA256()

SHA256

Properties:
Name Type Description
s Array:.<Number:>
w Array:.<Number:>
block Buffer
bytes Number
Source:

Methods

(private) _finish(out) → {Buffer}

Finalize SHA256 context.

Parameters:
Name Type Description
out Buffer
Source:
Returns:
Type
Buffer

(private) _update(data, len)

Update SHA256 context.

Parameters:
Name Type Description
data Buffer
len Number
Source:

finish() → {Buffer}

Finalize SHA256 context.

Source:
Returns:
Type
Buffer

init()

Initialize SHA256 context.

Source:

transform(chunk, pos)

Transform SHA256 block.

Parameters:
Name Type Description
chunk Buffer
pos Number
Source:

update(data)

Update SHA256 context.

Parameters:
Name Type Description
data Buffer
Source: