/// <summary> /// Generates a pin for the given key. /// </summary> public static string GeneratePin(string Key) { byte[] key = Encoder.Base32Decode(Key); return(GeneratePin(key, CurrentInterval)); }