/ fm / liveswitch / HmacSha256
Class: HmacSha256
fm.liveswitch.HmacSha256
Table of contents
Constructors
Properties
Methods
Constructors
constructor
+ new HmacSha256(key
: Uint8Array): HmacSha256
Parameters:
Name | Type |
---|---|
key |
Uint8Array |
Returns: HmacSha256
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:100
Properties
blockSize
• blockSize: number
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:94
digestLength
• digestLength: number
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:95
inner
• Private
inner: Sha256
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:91
istate
• Private
istate: Uint32Array
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:99
ostate
• Private
ostate: Uint32Array
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:100
outer
• Private
outer: Sha256
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:92
Methods
clean
▸ clean(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:142
digest
▸ digest(): Uint8Array
Returns: Uint8Array
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:168
finish
▸ finish(out
: Uint8Array): HmacSha256
Parameters:
Name | Type |
---|---|
out |
Uint8Array |
Returns: HmacSha256
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:157
reset
▸ reset(): HmacSha256
Returns: HmacSha256
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:135
update
▸ update(data
: Uint8Array): HmacSha256
Parameters:
Name | Type |
---|---|
data |
Uint8Array |
Returns: HmacSha256
Defined in: Generated/TypeScript/fm.liveswitch/HmacSha256.ts:151