Tech Rescue
  • Home
  • Acronyms
  • Cheat-Sheets
  • User Manuals

Programming

AES Encryption Decryption Tool in .NET 8 (Console App)

AES Encryption Decryption Tool in .NET 8 (Console App)

Here is the code! copy it and paste it inside a file (say AESFileEncryptDecrypt.csx) and then run it with dotnet-script AESFileEncryptDecrypt.csx. I am assuming that you already have dotnet-script tool installed globally in your computer as well as .NET 8 SDK. In case you don't, you can install
Hector Perez Feb 24, 2025
AES-256 Encryption / Decryption with Key in environment variable

AES-256 Encryption / Decryption with Key in environment variable

This is a very simple AES-256 string encryption/decryption program written in Node.JS using the built-in crypto library. // aes256.js const crypto = require('crypto'); const ENCODING = 'base64'; const KEY = process.env.MY_SECRET_KEY; function verifyKey() { if (!KEY) { throw new Error('MY_SECRET_KEY was not found!'); } } function
Hector Perez Dec 4, 2024
.NET Environment Setup in MacOS

.NET Environment Setup in MacOS

Recently I've been assigned a task in which I will need to develop software using Microsoft .NET Framework. The only problem is that currently I am using a MacBook Pro so here is what I did to get from 0 to hero. brew install --cask dotnet-sdk Your console output may
Hector Perez Nov 10, 2024
How to create menu in Node.JS

How to create menu in Node.JS

From the times of my Borland C programming where we had a fixed-width terminal that never changed size I had come up with the following code in Node.JS to now make it dynamically adjustable. The following code is just a skeleton and may be adjusted to your needs. const
Hector Perez Nov 4, 2024
Tech Rescue © 2025. Powered by Ghost