Skip to content

Commit

Permalink
these functions will be next
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcal authored and felixge committed Sep 2, 2010
1 parent 45a240a commit 8ab6841
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion lib/mysql/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,23 @@ exports.hashPassword = function(password) {
this.int31Write(result, nr2, 4);

return result;
}
};

exports.randomInit = function(rand_struct, seed1, seed2) {

rand_struct = {
max_value : 0x3FFFFFFFL,
max_value_dbl : 0x3FFFFFFFL,
seed1 : seed1 % 0x3FFFFFFFL,
seed2 : seed1 % 0x3FFFFFFFL,
};
};

exports.myRnd = function(rand_struct) {
};

exports.scramble323 = function(message, password) {
};

exports.fmt32 = function(x){
var a = x[0].toString(16);
Expand Down

0 comments on commit 8ab6841

Please sign in to comment.