Kodular / Kodular-Creator-Issue-Tracker

Report issues and request features
0 stars 0 forks source link

Add RSA component (2048, 3072 and 4096 bit) #3

Open kkashi01 opened 4 years ago

kkashi01 commented 4 years ago

From pro-koders:

Add RSA component (2048, 3072 and 4096 bit)

barreeeiroo commented 4 years ago

Better use the Cryptography component, as it's already designed for crypto

Kanishka-Developer commented 4 years ago

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.