Skip to content

managedNonce should handle the async cipers from webcrypto #53

@inverted-capital

Description

@inverted-capital

if I do

import { gcm, managedNonce } from '@noble/ciphers/webcrypto'

and then try to use managedNonce with

const aes = managedNonce(gcm)(key)

I get an error because managedNonce expects synchronous functions only.

May we get a version that handles async functions as well ?

Thank you for writing these libraries - they are a great help to all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions