Category: Programming

Programming guides, code snippets and general how-tos

Show Posts in

Encrypting Text using AES-CBC in NodeJS

Encryption allows an actor to obscure data in a day that prevents unwanted parties from viewing the raw contents. Using some kind of secret, an actor can encrypt data that can be later decrypted by using the same secret. With regards to the majority of encryption algorithms, this …

Using CSS to Style console.log Output

The browser console is the place to start when debugging websites and webapps, and there’s absolutely no reason that it should be static and boring. The console in most modern browsers is almost a browser in itself, and you might be surprised with what it can actually render. …

PHP cURL with Sessions

PHP scripts have the ability to request content from other servers using cURL. cURL makes a request to a remote server page, fetches the content and returns it to the script. cURL can make GET and POST requests, retrieving and pushing data respectively, behaving very much like a …