Re: Why is this happening to my software? An illegal instruction error.

2024-06-19 Thread Murilo via Digitalmars-d-learn
On Wednesday, 19 June 2024 at 00:02:38 UTC, H. S. Teoh wrote: Among the above causes, I'd say (1) is the most likely, (2) is the 2nd most likely if (1) isn't the cause. Thank you, I will try this software on other computers to see if it's number 2. I've reviewed the code and I don't think it

Re: Why is this happening to my software? An illegal instruction error.

2024-06-19 Thread Murilo via Digitalmars-d-learn
On Wednesday, 19 June 2024 at 07:46:07 UTC, ryuukk_ wrote: why do you convert the number to string? My mistake, I thought BigInt() only took strings, I've corrected the code.

Re: Google Auth API

2024-06-19 Thread Sergey via Digitalmars-d-learn
On Tuesday, 18 June 2024 at 01:38:04 UTC, Vahid wrote: Hi, Has anyone here had experience implementing the Google Auth Library in DLang? Specifically, I am looking for guidance on handling OAuth 2.0 using JWT. Are there any current libraries available for this purpose? Oh a pain-point of D

Re: Get Private Key in a File

2024-06-19 Thread Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
On 19/06/2024 7:23 AM, Vahid wrote: Hi, I have a private key file and aim to retrieve the private key for utilization in other functions. In PHP, there exists a function named 'openssl_pkey_get_private' for this purpose. Is there a corresponding function available in D to achieve the same out

Re: Why is this happening to my software? An illegal instruction error.

2024-06-19 Thread ryuukk_ via Digitalmars-d-learn
On Tuesday, 18 June 2024 at 23:07:47 UTC, Murilo wrote: I've created a software which performs the Fermat's Primality Test, however if I input a very big number it causes an error saying "Illegal instruction (core dumped)". Does anyone know why? I've used GDB and here is the message: Program