This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(options) { | |
// Init options if not specified | |
options = options || { | |
"capturePayload": false | |
}; | |
// Store a reference to the native method | |
let oldOpen = XMLHttpRequest.prototype.open; | |
var xhrlogcounter = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javax.crypto.*; | |
import javax.crypto.spec.GCMParameterSpec; | |
import java.nio.ByteBuffer; | |
import java.security.SecureRandom; | |
import java.util.Arrays; | |
public class AESGCMUpdateAAD2 { | |
// AES-GCM parameters | |
public static final int AES_KEY_SIZE = 128; // in bits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Changes --> | |
<!-- 10/1/2015 --> | |
<!-- Added a redundant check to make sure the hosted-fields js file actually loads first. this check has a document.write --> | |
<!-- call in it, so make sure the code below is at the end of the body, not in the head section. --> | |
<!-- 7/29/2015 --> | |
<!-- Added a hash of options to the setup call to allow for --> | |
<!-- some of the issues encountered using backbone.js checkouts. --> | |
<!-- | |
options: { callback: somefunction, selectorContext: elementOrjQueryObj } |