Skip to content

hkdf: info must be passed to extract #27

@armfazh

Description

@armfazh

Changing the signature of HKDF functions. Specifically passing info to expand, thus, the hkdf key can be reused across multiple calls to expand.

class HKDF {
    constructor(hash: new () => Hash, key: Uint8Array, salt?: Uint8Array);
    expand(length: number, info?: Uint8Array):
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions