Skip to content

Instantly share code, notes, and snippets.

View atoponce's full-sized avatar
Crypto coffee

Aaron Toponce atoponce

Crypto coffee
View GitHub Profile
@atoponce
atoponce / ciphers.md
Last active August 1, 2017 13:09
A list of the starting tweets for each #CipherMysteries cipher thread
@atoponce
atoponce / README.md
Last active December 20, 2023 18:39
Security settings for WeeChat

Strongly Recommended

Disable DCC

/plugin unload xfer
/set weechat.plugin.autoload *,!xfer

Disable CTCP

/set irc.ctcp.action ""
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""

/set irc.ctcp.ping ""

@atoponce
atoponce / password_strength.md
Last active July 11, 2019 04:20
A document evaluating different open source password generators and password strength testers. See the other Gists at the end of the document for the password results.

Open Source Password Generator / Strength Meter Testing

This is a collection of password generators and strength meter testing. Each generator produces a different array of passwords, of which are then tested against each of the strength meters. The defaults are used where possible, otherwise sane options are provided.

The Results

The following results are tables showing the generators, passwords, and strength testers described below.

  1. Randomly generaterd passwords: atoponce/random_results_table.md
@atoponce
atoponce / random_results_table.md
Last active December 22, 2017 21:33
A table showing 200 randomly generated passwords of different strengths and complexities from different generators, and tested with different strength testers, with their scores and suggestions.

Randomly Generated Passwords

This table shows passwords generated from a number of different generetors of different strengths,and their results using different strength testing checkers.

See the public Gist of atoponce/password_strength.md about a description of each generator and the strength tester.

| Password | Source | Pwqcheck | Cracklib-check | Pwscore | Zxcvbn |

@atoponce
atoponce / top500_results_table.md
Created December 16, 2016 17:13
A table showing top top 500 of 10-million most commonly passwords from Mark Burnett, and tested with different strength testers, with their scores and suggestions.

Top-500 Commonly Used Passwords

This table shows passwords which come from Mark Burnett's 10 million password dump, picking only the top 500. Each password is checked against our strength testers.

See the public Gist of atoponce/password_strength.md about a description of each generator and the strength tester.

| Password | Source | Pwqcheck | Cracklib-check | Pwscore | Zxcvbn |

@atoponce
atoponce / jp_hiragana.txt
Created August 16, 2017 10:42
Japanese Diceware
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
# This word list has included material from the JMdict (EDICT, etc.)
# dictionary files in accordance with the licence provisions of the
# Electronic Dictionaries Research Group, and is covered under their
# Creative Commons Attribution-ShareAlike Licence.
#
# http://www.edrdg.org/edrdg/licence.html
#
@atoponce
atoponce / random.js
Last active March 11, 2018 01:32
Uniform random number generators
// Citation: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random
/*
* Getting a random number from [0, max)
*/
// DO THIS (unbiased)
function getRandomInt(max) {
var low = (-max >>> 0) % max;
do { var n = Math.random() * 0x100000000 >>> 0; } while(n < low);
@atoponce
atoponce / index.html
Created June 6, 2018 22:56
Twemoji font testing
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Emoji Font Test</title>
<style>
@font-face {
font-family: "emoji";
src: url("./fonts/TwitterColorEmoji-SVGinOT.ttf") format("truetype");
}
@atoponce
atoponce / trump.js
Created June 8, 2018 01:30
Uncut Trump passphrase wordlist
"#",
"$",
"0",
"1",
"2",
"3",
"4",
"5",
"6",
"7",
@atoponce
atoponce / bias.py
Last active March 27, 2024 10:13
Some solutions removing bias from loaded dice
#!/usr/bin/python3
import random
# Simple script to simulate biased throws of a single d6 die.
# bias should sum to 1
# pips ( 1, 2, 3, 4, 5, 6 )
BIAS = (0.125, 0.125, 0.25, 0.25, 0.125, 0.125)