Top

JavaScript

Cross Programming Language Encryption – C# vs JavaScript vs Go, Part 4

See a demo at Github This 4th section of the article was written about a week after I finished the other 3 to clarify a mistake I kinda perpetuated from the begging. After reviewing my code, one of my colleagues raised the following issue: even though I was using RSA encryption, I was using the wrong public and private key. So I had to go back, to the beginning: RSA RSA (Rivest–Shamir–Adleman) is one of the first public-key cryptosystems and is widely used for secure data transmission. In such a cryptosystem, the encryption key is public and distinct from the decryption key which is kept secret (private). In RSA, this asymmetry is based on the practical difficulty of factoring the product of two large prime numbers, the "factoring problem". The acronym RSA is the initial letters of...

See a demo at Github ...

Read More

Cross Programming Language Encryption – NodeJs vs Go, Part 3

See a demo at Github Previous parts of this article treated encryption from the point of view of C# and GoLang programming languages. What I did not mention, was the full architecture of our application, which I should probably not and which eventually would also imply a module that will also need to send encrypted content from a NodeJs module, towards our Go Lang module. This also gave me the chance to extend a bit my research and try to make a 3 programming languages implementation of the same two crypto algorithms that I have started with: AES and RSA. When it comes to NodeJs, there are a few modules that claim they do encrypt stuff, however, the best choice is to use...

See a demo at Github Pre...

Read More