Category: Programming
-
OpenSSL RSA Commands
This is another post mainly as a reference for myself. Generate private key Add 1024/2048/4096 to specify length. Defaults to 2048. Generate public key Encrypt file Decrypt file Hash file Not technically RSA, but you need to do it to sign/verify. (You actually can sign unhashed files, but they have to be less than 64…
-
OpenSSL generate self-signed certificate one-liner
For future me when I don’t have the batch file: Remove -noenc if you want a password on the PEM file(s). (I don’t know if it’s just for the private key or if it’s for both, I’ve always used -noenc.) By default, the certificate expires in 30 days. Add -days xxxxx to make it longer.…
-
Use PowerShell
The Windows Command Processor is severely outdated. It was never meant to be used as your main command line tool in Windows after Windows PowerShell replaced it as the default in Windows 10 build 14791. Yet we all seem to collectively switch back to CMD. Why? Pitfalls of CMD Command Prompt was originally made as…
-
S&box is awesome
Remember what Unity did last September? Yeah, people didn’t quite like that. Sure, they made an apology, but the runtime fee sill exists, and they haven’t quite won back people’s trust… Conveniently, Facepunch (creators of Garry’s Mod and Rust) has been working on a successor to Garry’s Mod called S&box, and it just released into…