We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e034523 commit 66cca7bCopy full SHA for 66cca7b
lib/protocol/Auth.js
@@ -105,19 +105,6 @@ Auth.scramble323 = function(message, password) {
105
return to;
106
};
107
108
-Auth.fmt32 = function(x){
109
- var a = x[0].toString(16),
110
- b = x[1].toString(16);
111
-
112
- if (a.length === 1) a = '000'+a;
113
- if (a.length === 2) a = '00'+a;
114
- if (a.length === 3) a = '0'+a;
115
- if (b.length === 1) b = '000'+b;
116
- if (b.length === 2) b = '00'+b;
117
- if (b.length === 3) b = '0'+b;
118
- return '' + a + '/' + b;
119
-};
120
121
Auth.xor32 = function(a,b){
122
return [a[0] ^ b[0], a[1] ^ b[1]];
123
0 commit comments