Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

RSA Encyption example with large numbers using System.Numerics.BigInte...

Language: Layout:
+ ] Show input
Compilation time: 0.12 sec, absolute running time: 0.11 sec, cpu time: 0.11 sec, average memory usage: 17 Mb, average nr of threads: 5 
edit mode |  history  | discussion
plainText1 before encryption = 1976620216402300889624482718775150

plainText2 before encryption = 7268237837345551102925775245561192465854311

cipherText1 = 
35052111338673026690212423937053328511880760811579981620642802346685810623109850235943049080973386241113784040794704193978215378499765413083646438784740952306932534945195080183861574225226218879827232453912820596886440377536082465681750074417459151485407445862511023472235560823053497791518928820272257787786

cipherText2 = 
109985202300004694012401092616993335938206301395818102609147090909412322306572215331089074712393355567482902804933620912180887465159590981806451441847887228809233054003736956606220095862297254402620051278044152937959792980232302781598282982266141451864005903226524723915164265263645607997219551685042298247406

plainText1 after decryption = 1976620216402300889624482718775150

plainText2 after decryption = 7268237837345551102925775245561192465854311

plainText1 -- OK

plainText2 -- OK

    
                
λ
.NET NoSQL database for rapid development