dajiaji / pyhpke

A Python Implementation of HPKE (Hybrid Public Key Encryption)
MIT License
7 stars 4 forks source link

KEM._nsecret Question #134

Closed Aurvandill closed 11 months ago

Aurvandill commented 11 months ago

a short Question in Regards to the _nsecretAttribute. Is that attribute the Nsk from the RFC? if yes then shouldn't it be

?

(according to https://www.rfc-editor.org/rfc/rfc9180.html#name-key-encapsulation-mechanism)

with best regards Aurvandill

dajiaji commented 11 months ago

_nsecret is the Nsecret from the RFC.

Is there any problem?

Aurvandill commented 11 months ago

I need the Nsk for the derive Key Pair function. an i misused the _nsecret. i will add the Nsk as _nsk Attribute in my PR if thats fine :)