Skip to content

EcKdf documentation unclear #281

Open
@nwalfield

Description

@nwalfield

The documentation for EcKdf says:

In the current version of this crate, only the null KDF is
supported, which takes no shared data. Therefore 'a can always be inferred
'static.

But there are two methods: null and sha256. sha256's signature is:

fn sha256() -> Self

That is, it doesn't have an elegant way to fail fast. Is sha256 supported? Is the error returned later? Is the above comment out of date?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions