hwcrypto / hwcrypto.js

Browser JavaScript library for working with hardware tokens
https://hwcrypto.github.io
MIT License
157 stars 47 forks source link

RSA signature support #32

Closed wzoet closed 7 years ago

wzoet commented 7 years ago

Is there any chance of RSA signature support or is this not implemented in the lower API? I was looking for a way to get a RSA-SHA256 signature of some data.

martinpaljak commented 7 years ago

RSA-SHA256 is what you get when you pass in a SHA-256 hash and the card in use does RSA (the only method currently supported)

wzoet commented 7 years ago

Alright, thank you, my mistake. I thought I was receiving not enough data regarding another implementation I was using in .net. It seems it was just the encoding fooling me.