digitalmars.D.learn - RSA library
- Andre Pany (14/14) Aug 18 2016 Hi,
- Adam D. Ruppe (6/8) Aug 18 2016 Not that I know of, and I don't think the win32 api includes
Hi, I am searching for a RSA (256) library to validate the signature of a JWT token. Although there are OpenSSL and Botan both have some small disadvantages. For OpenSSL I always have include the DLLs on windows and for Botan you have to install the Microsoft Linker or built it as win64 application. Is there a D library which can be built with a plain x86 DMD and without dll dependencies? Kind regards André
Aug 18 2016
On Thursday, 18 August 2016 at 09:00:58 UTC, Andre Pany wrote:Is there a D library which can be built with a plain x86 DMD and without dll dependencies?Not that I know of, and I don't think the win32 api includes rsa256 (though .net does!). The botan lib though, why doesn't it work on 32 bit optlink? You might be able to hack it by just taking the algorithms you need and compiling yourself.
Aug 18 2016
Well, windows api has RSA https://msdn.microsoft.com/en-us/library/windows/desktop/aa3755 4%28v=vs.85%29.aspx is it different from RSA256?
Aug 18 2016
On Thursday, 18 August 2016 at 14:29:54 UTC, Adam D. Ruppe wrote:On Thursday, 18 August 2016 at 09:00:58 UTC, Andre Pany wrote:It is a statement from the botan github readme, maybe due to a dependency. I will try the windows api, from the description it seems exactly what i need. I will also check wheter the specific botan part could be extracted. Thanks a lot. Kind regards AndreIs there a D library which can be built with a plain x86 DMD and without dll dependencies?Not that I know of, and I don't think the win32 api includes rsa256 (though .net does!). The botan lib though, why doesn't it work on 32 bit optlink? You might be able to hack it by just taking the algorithms you need and compiling yourself.
Aug 18 2016
On Thursday, 18 August 2016 at 17:56:54 UTC, Andre wrote:I will try the windows api, from the description it seems exactly what i need.CNG was introduced in Vista if it matters.
Aug 19 2016