bitScry

  • Home
  • About
  • Blog
  • Contact

Random

About this site

This is a blog to help me remember some of the coding challenges I’ve faced and hopefully help others out if they’re suffering the same problems.

Recent Posts
  • Visual Studio CoreCLR Error
  • Adding Healthchecks to a .NET Core 6 API
  • Getting Location From IP Address
  • Creating a RestSharp Authenticator
  • Deploying a .NET Core Windows Site to Docker
Tag Cloud

.NET Core AAD API appsettings.json ASP.NET Core Authentication Authorization Azure Azure Active Directory Azure Function Azure Storage Blob Bootstrap C# Console Application CSS DataTable Dependency Injection Dictionary Entity Framework Enum Extension GZip HTML IP Address JavaScript jQuery JSON List Middleware MVC MVC 6 Newtonsoft RestSharp Serilog SQL SSDT SSIS Stored Procedure Stream Table Table Storage Web App Web Application WordPress

Programming

Creating Random Files in C#

I maintain a library called PGPCore for using PGP encryption in C#, in order to test how this performs when processing large files I needed to create a large file full of random data to check it was encrypting/decrypting as expected. After a bit of searching the answers to this Read more…

By Shinigami, 3 years28 August 2019 ago
Programming

Getting a Randomly Generated String in SQL

If you want to get a random string in SQL then you could use newid to generate a GUID and take the alphanumeric characters from it, however while these should obviously be unique from each other they don’t contain the full range of characters that may be desired and sequential Read more…

By Shinigami, 3 years22 May 2019 ago
Programming

Cryptographically Secure Random String

I’ve been trying to generate unique referal codes composed of uppercase letters for a project and although it’s not really necessary I wanted to make these as cryptographically sound as possible so I could reuse the code later in a personal password generator project. Turns out it wasn’t as simple Read more…

By Shinigami, 4 years23 April 2018 ago
  • Facebook
  • Twitter
  • Instagram
  • Email
Hestia | Developed by ThemeIsle