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:
| // (c) copyright unscriptable.com / John Hann | |
| // License MIT | |
| // For more robust promises, see https://github.com/briancavalier/when.js. | |
| function Promise () { | |
| this._thens = []; | |
| } | |
| Promise.prototype = { |