For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
#!/usr/bin/env python | |
"""Launchpad to github bug migration script. | |
There's a ton of code from Hydrazine copied here: | |
https://launchpad.net/hydrazine | |
WARNING: this code was written for the Github issues v2 API, and has *not* been ported to v3. If anyone finds it useful and ports it, please drop me a pull request. | |
Usage | |
----- |
import ast | |
from cStringIO import StringIO | |
import sys | |
INFSTR = '1e308' | |
def interleave(inter, f, seq): | |
seq = iter(seq) | |
try: | |
f(next(seq)) |
This Riverbed TrafficScript library implements support for identification and modification of WebSockets traffic in Stingray Traffic Manager.
For more details and usage instructions, check out https://splash.riverbed.com/docs/DOC-1451
Tags: #Stingray #TrafficScript #WebSockets #splash.riverbed.com
#!/usr/bin/env python | |
"""Launchpad to github bug migration script. | |
There's a ton of code from Hydrazine copied here: | |
https://launchpad.net/hydrazine | |
WARNING: this code was written for the Github issues v2 API, and has *not* been ported to v3. If anyone finds it useful and ports it, please drop me a pull request. | |
Usage | |
----- |
// Fast-Import / Fast-Export Rewriter to migrate bazaar bugtracking metdata properties to git. | |
// More infos: http://www.fusonic.net/en/blog/migrating-from-bazaar-to-git/ | |
// Licence: Mit X11 / BSD | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Text.RegularExpressions; | |
using System.Text; | |
using System.Diagnostics; | |
using System.Collections.Generic; |
These Riverbed TrafficScript libraries implements a means to efficiently search tables of data stored as files in the Resource directory (conf/extra) of Stingray Traffic Manager
For more details and usage instructions, check out https://splash.riverbed.com/docs/DOC-1618
Tags: #Stingray #TrafficScript #splash.riverbed.com
This Riverbed TrafficScript library implements the HMAC/SHA1 and HMAC/MD5 calculations.
For more details and usage instructions, check out https://splash.riverbed.com/docs/DOC-1610
Tags: #Stingray #TrafficScript #HMAC #splash.riverbed.com
import javax.crypto.Cipher; | |
class Test { | |
public static void main(String[] args) { | |
try { | |
System.out.println("Hello World!"); | |
int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES"); | |
System.out.println(maxKeyLen); | |
} catch (Exception e){ | |
System.out.println("Sad world :("); |