Top

JavaScript

The controversy of JavaScript runtime environments

For nearly a decade, I have honed my skills as both a frontend and backend developer. Over the past five years, my focus has primarily been on backend development, specializing exclusively in JavaScript. "Hold on, isn't JavaScript both a programming language and a standard? Actually, no. ECMAScript is the standard, and JavaScript is just an implementation of that standard. Do I, as a programmer, need to concern myself with the distinction above? Perhaps I should. However, my intent isn't to debate the nuances of the programming language or the standard that underpins this elegant and versatile language. I'm also not here to delve into the complexities and debates surrounding JavaScript Engines and the emerging concept of JavaScript...

For nearly a decade, I have h...

Read More

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