Computronics icon indicating copy to clipboard operation
Computronics copied to clipboard

[Suggestion] RSA Signing

Open new-sashok724 opened this issue 10 years ago • 3 comments

It would be good to have RSA signature functions along with encryption in Advanced Cipher Block

new-sashok724 avatar Mar 29 '16 12:03 new-sashok724

Signing is just encryption with private key instead of public.

makkarpov avatar Apr 10 '16 12:04 makkarpov

Then how i could verify sign? :)

new-sashok724 avatar Apr 10 '16 15:04 new-sashok724

Decrypt with public. Keys are interchangeable. The one issue here is the absence of hash functions in Computronics, and, possibly, ASN.1 structure of signature, but ASN.1 can be generated in Lua since it isn't much complex, and hash functions are present in core OpenComputers, if you are using it.

makkarpov avatar Apr 10 '16 19:04 makkarpov