I hereby claim:
- I am tbiehn on github.
- I am tbiehn (https://keybase.io/tbiehn) on keybase.
- I have a public key ASC4fnS6PPz6YYSJTAPbS-9oV7QOJmRvKXf7tFhRikrA-Ao
To claim this, I am signing this object:
| /** | |
| * Author......: See docs/credits.txt | |
| * License.....: MIT | |
| * 1415 sha256(sha256($pass).$salt) | |
| KERN_TYPE_SHA256_PW_SHA256_SLT | |
| static const char *HT_01415 = "sha256(sha256($pass).$salt)"; | |
| DISPLAY_LEN_MIN_1411 = 64 + 1 + 0, | |
| DISPLAY_LEN_MAX_1411 = 64 + 1 + SALT_MAX, | |
| DISPLAY_LEN_MIN_1411H = 64 + 1 + 0, | |
| DISPLAY_LEN_MAX_1411H = 64 + 1 + (SALT_MAX * 2), |
I hereby claim:
To claim this, I am signing this object:
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Copyright (C) 2014 ADDY OSMANI <addyosmani.com> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
| #!/usr/bin/env node | |
| // Verify the most famous MD5 collision example in JavaScript, using nothing but | |
| // built-in Node modules. | |
| var crypto = require('crypto'); | |
| var ucs2encode = require('punycode').ucs2.encode; | |
| var assert = require('assert'); | |
| var md5 = function(string) { |
| def extract_form_fields(self, soup): | |
| "Turn a BeautifulSoup form in to a dict of fields and default values" | |
| fields = {} | |
| for input in soup.findAll('input'): | |
| # ignore submit/image with no name attribute | |
| if input['type'] in ('submit', 'image') and not input.has_key('name'): | |
| continue | |
| # single element nome/value fields | |
| if input['type'] in ('text', 'hidden', 'password', 'submit', 'image'): |