Making secp256k1 public keys with a given private key in different languages and different libraries
Using Bouncy Castle in C#
using System;
using System.Collections;
using System.Linq;
using System.Text;
using Org.BouncyCastle.Asn1.Sec;Making secp256k1 public keys with a given private key in different languages and different libraries
Using Bouncy Castle in C#
using System;
using System.Collections;
using System.Linq;
using System.Text;
using Org.BouncyCastle.Asn1.Sec;| import collections | |
| import functools | |
| import itertools | |
| import operator | |
| """ | |
| Constants that will change over the life of the game | |
| The current values are based off the following google sheet as of 2018/04/08 19:40 UTC | |
| DropMix Card Checklist (Public) | |
| https://docs.google.com/spreadsheets/d/13TjEBCW5Wv4xJgGVXGV7PfVNAuc3D07ADE-694NH1Ig/edit?usp=sharing |
| using System.Linq; | |
| using System.Collections.Generic; | |
| namespace Combinatoric.Enumeration | |
| { | |
| public static class CombinatoricEnumeration | |
| { | |
| // https://docs.python.org/2/library/itertools.html#itertools.combinations | |
| public static IEnumerable<List<T>> Combinations<T>(this IEnumerable<T> items, int r) | |
| { |
| def _get_json_iterator(json): | |
| if isinstance(json, dict): | |
| return json.keys() | |
| elif isinstance(json, list): | |
| return range(len(json)) | |
| else: | |
| raise Exception() | |
| def is_json_equal(json_a, json_b): | |
| if json_a is json_b: |