export KNOX_USER_AUTH=<insert generated github token here> echo -n "My first knox secret" | $GOPATH/bin/dev_client create test_service:first_secret You can retrieve the secret using: $GOPATH/bin/dev_client get test_service:first_secret You can see all key IDs using: $GOPATH/bin/dev...
rsa.generateKeyPair({bits: 2048, workers: -1}, function(err, keypair) { // keypair.privateKey, keypair.publicKey }); // generate and encapsulate a 16-byte secret key var kdf1 = new forge.kem.kdf1(forge.md.sha1.create()); var kem = forge.kem.rsa.create(kdf1); var result =...
beforeSubmit: function(arr, $form, options) { // form data array is an array of objects with name and value properties // [ { name: 'username', value: 'jresig' }, { name: 'password', value: 'secret' } ] // return false to cancel submit }...