Skip to content

Instantly share code, notes, and snippets.

View halysongoncalves's full-sized avatar

Halyson Lima Gonçalves halysongoncalves

View GitHub Profile
@halysongoncalves
halysongoncalves / amazon_appstore_submission.py
Created February 15, 2023 20:22 — forked from JesusM/amazon_appstore_submission.py
Python script to submit apps to Amazon AppStore
import requests
import sys
from pathlib import Path
# Arguments you need to provide:
# 1.- client_id = Amazon client API id
# 2.- client_secret = Amazon client API secret
# 3.- app_id = Amazon app id
# 4.- local_apk_path = Path for the apk file to submit
arguments = sys.argv
@halysongoncalves
halysongoncalves / ECDH_BC.java
Created July 13, 2016 19:59 — forked from wuyongzheng/ECDH_BC.java
Elliptic curve Diffie–Hellman using Bouncy Castle v1.50 example code
import java.math.BigInteger;
import java.security.PublicKey;
import java.security.PrivateKey;
import java.security.KeyFactory;
import java.security.Security;
import java.security.KeyPairGenerator;
import java.security.KeyPair;
import java.security.SecureRandom;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.ECGenParameterSpec;