Skip to content

Instantly share code, notes, and snippets.

@BBNicolas
BBNicolas / AuthenticaionHelper.cs
Last active December 10, 2019 20:28
Cognito register, validation and login with remember Devices enabled
using System;
using System.Security.Cryptography;
using System.Text;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Digests;
using Org.BouncyCastle.Math;
using System.Globalization;
namespace cognito
{