core/crypto/sha2

sha2

Types

2

Constants

7

Procedures

11

clone

clone :: proc(ctx: ^T, other: ^T)Source

clone clones the Context other into ctx.

final

final :: proc(ctx: ^T, hash: []u8, finalize_clone: bool)Source

final finalizes the Context, writes the digest to hash, and calls reset on the Context.

If and only if (⟺) finalize_clone is set, final will work on a copy of the Context, which is useful for for calculating rolling digests.

reset

reset :: proc(ctx: ^T)Source

reset sanitizes the Context. The Context must be re-initialized to be used again.

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.