Skip to content

hkdf: info must be passed to extract #27

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):
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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