Code Monkey home page Code Monkey logo

Comments (8)

microshine avatar microshine commented on July 19, 2024 1

new version of webcrypto-core allows to create providers in implementing module. HKDF is standard W3 WebCrypto algorithm, I'll add it to webcrypto-core

from webcrypto.

microshine avatar microshine commented on July 19, 2024 1

HKDF was added to webcrypto-core
+ [email protected]

from webcrypto.

microshine avatar microshine commented on July 19, 2024

PeculiarVentures/webcrypto-core#21

from webcrypto.

LiraNuna avatar LiraNuna commented on July 19, 2024

Nice, I'll start working on a PR.
Please note that nodejs does not have a native HKDF implementation, so I am planning to perform it manually. I am not aware of any side-channel or timing attacks that extract-and-expand algorithms are susceptible to, do you have any words of wisdom about potential gotchas I should worry about?

from webcrypto.

microshine avatar microshine commented on July 19, 2024

I'd like @peculiar/webcrypto to be NodeJS module without C++ plugins. If you can implement HKDF via NodeJS Crypto API or JS, I think it's ok. We have node-webcrypto-ossl module (it doesn't implements HKDF too) which could implement HKDF via OpenSSL API

@rmhrisk what do you think about it?

from webcrypto.

LiraNuna avatar LiraNuna commented on July 19, 2024

To make it clear, I am planning to implement HKDF in Javascript.

from webcrypto.

LiraNuna avatar LiraNuna commented on July 19, 2024

@microshine Please see the comments I left on PeculiarVentures/webcrypto-core#21 - I hit those issues while implementing HKDF.

from webcrypto.

microshine avatar microshine commented on July 19, 2024

I published updated version + [email protected]

from webcrypto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.