datapartyjs / dataparty-crypto

It slices, it dices, and it enciphers
http://dataparty.xyz
Apache License 2.0
4 stars 0 forks source link

FEAT | Post quantum encryption support #23

Closed sevenbitbyte closed 6 months ago

sevenbitbyte commented 7 months ago

🚀 Feature Proposal

Yeaah buddy, it's time to sprinkle some of that quantum resistant magic around. ✨🪄

sevenbitbyte commented 6 months ago

Might want to think about adding Dillithium signatures for key points

https://github.com/paulmillr/noble-post-quantum?tab=readme-ov-file#ml-dsa--dilithium-signatures

sevenbitbyte commented 6 months ago

Support PQ-Keys (kyber for box, dillithium for sign)

https://github.com/datapartyjs/dataparty-crypto/blob/master/index.d.ts#L6-L10

sevenbitbyte commented 6 months ago

Expand ISignature to have type field to explain which algo made the signature

https://github.com/datapartyjs/dataparty-crypto/blob/master/index.d.ts#L17-L21