Programming

Cryptographically Secure Random String

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 Read more…

By Shinigami, ago
Programming

Retrieving OAUTH2 Tokens in .NET

Retrieving OAUTH2 Tokens in .NET To get access tokens from an OAUTH2 identity server you can make a standard POST request using HttpClient, the easiest way of sending the required credentials is by serializing a dictionary object of values into URL encoded content. Token Class public class Token { public Read more…

By Shinigami, ago