Question on Password Encryption, using stdlib or third party lib

0xFFFFFFFF 0xFFFFFFFF at mail.com
Mon Jul 29 15:51:15 UTC 2019


On Monday, 29 July 2019 at 14:37:54 UTC, 0xFFFFFFFF wrote:
> On a project I was asked to
>
> a- Compute SHA-256 of a password
> b- Do a BigInteger, convert to Hex String
> c- Encrypt the key using a public key with the following 
> parameters
>   Entropy: I'm given some numbers
>   Modulus: also given long numbers
>
> [encrypt using RSA algorithm]
>
> So far I'm familiar with a and b in Dlang.
>
> how do I go about c) In Dlang ?
>
> Thanks

It is exponent not entropy


More information about the Digitalmars-d-learn mailing list