Skip to content

Instantly share code, notes, and snippets.

Antonio Sanso asanso

Block or report user

Report or block asanso

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Untitled1.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View MSDBRG
package gist;
import java.math.BigInteger;
import java.security.SecureRandom;
public class MSDBRG {
private static BigInteger TWO = new BigInteger("2");
public static void main(String[] args) {
View recovery-code.html
<script>
var ec8fc = {
valueOf: function () {
alert("valueOf1");
return 1;
}
};
var cd0b2 = {
valueOf: function () {
alert("valueOf2");
View recovery-codes.txt
cd0b2-ec8fc
d4ca7-cbb2f
cd0b2-ec8fc
dd8fd-a90f9
dfaf5-bfb21
aed4b-47351
d1950-f654a
b05b8-aa6af
fdff0-a95f4
d347b-eff1d
View ecc1-8.java
package orig;
import java.math.BigInteger;
import java.security.InvalidKeyException;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.spec.ECFieldFp;
import java.security.spec.ECParameterSpec;
import java.security.spec.ECPoint;
View nss-java
import java.math.BigInteger;
import java.security.InvalidKeyException;
import java.security.KeyFactory;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.spec.ECFieldFp;
import java.security.spec.ECParameterSpec;
import java.security.spec.ECPoint;
import java.security.spec.ECPrivateKeySpec;
View node-jose.js
"use strict";
var forEach = require("lodash.foreach");
var chai = require("chai");
var JWE = require("../../lib/jwe"),
JWK = require("../../lib/jwk");
var assert = chai.assert;
View nimbusds.java
private static ECKey generateECJWK(final ECKey.Curve curve)
throws Exception {
final ECParameterSpec ecParameterSpec = curve.toECParameterSpec();
KeyPairGenerator generator = KeyPairGenerator.getInstance("EC");
generator.initialize(ecParameterSpec);
KeyPair keyPair = generator.generateKeyPair();
final ECPrivateKey privateKey = (ECPrivateKey) keyPair.getPrivate();
View keybase.md

Keybase proof

I hereby claim:

  • I am asanso on github.
  • I am asanso (https://keybase.io/asanso) on keybase.
  • I have a public key whose fingerprint is D2F4 790B FBB6 B63B B018 6BBB AEA6 60EF 9752 8DD9

To claim this, I am signing this object:

You can’t perform that action at this time.