docknetwork / crypto-wasm-ts

Typescript abstractions over Rust crypto library's WASM wrapper
Apache License 2.0
27 stars 7 forks source link

Add pseudonyms support for presentation #18

Closed nicobao closed 1 year ago

nicobao commented 1 year ago

Hi!

I will be using dock libraries and dock wallet for https://github.com/privency

The voting system relies heavily on hash of credential attributes - aka pseudonyms.

Pseudonyms have been implemented in Pseudonym.js, and thoroughly tested in pseudonym.spec.ts, but they are not available in Presentations.

I worked on adding support for pseudonyms in presentation, allowing:

I am sending a draft PR, and would love your feedback. After work is finished here, I'm happy to help bringing support for it in the wallet.