olehlong / jwtd

D implementation of JSON Web Token.
MIT License
30 stars 13 forks source link

Add botan variant #1

Closed tchaloupka closed 9 years ago

tchaloupka commented 9 years ago

Hi, I'm in need to use JWT within vibe.d and would like to make it possible to use it also with native Botan library[0]. I could roll my own variant, but maybe it would be better to stay with one jwtd in code.dlang.org with both libraries backend possible so user can simply choose one of them.

I've made this PR to see if you are interested so just HS256, HS384 and HS512 are implemented with Botan as of yet.

[0] https://github.com/etcimon/botan

olehlong commented 9 years ago

Thanks.