Open kkashi01 opened 4 years ago
Better use the Cryptography component, as it's already designed for crypto
That's what I meant, actually, when I requested for RSA components. 😅 They'd actually be new methods and properties in the existing Cryptography component.
Methods:
Properties: RSA(bit-length)-Key [ Getter + Setter ]
Note: There is no point in having Private and Public key properties, since there is no real distinction between the keys generated and either of them can be made public. At the time of decryption, it is expected to programmatically set the key to the device owner's private Key, and while encrypting, to the sender's public key.
From pro-koders:
Add RSA component (2048, 3072 and 4096 bit)