Re: RSA library

2016-08-19 Thread Kagamin via Digitalmars-d-learn

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.


Re: RSA library

2016-08-18 Thread Andre via Digitalmars-d-learn

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:
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.


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
Andre


Re: RSA library

2016-08-18 Thread Kagamin via Digitalmars-d-learn
Well, windows api has RSA 
https://msdn.microsoft.com/en-us/library/windows/desktop/aa375534%28v=vs.85%29.aspx is it different from RSA256?


Re: RSA library

2016-08-18 Thread Adam D. Ruppe via Digitalmars-d-learn

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.


RSA library

2016-08-18 Thread Andre Pany via Digitalmars-d-learn

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é