Lines Matching refs:Hash
10 Hash: _Hash,
60 function Hash(algorithm, options) {
61 if (!(this instanceof Hash))
62 return new Hash(algorithm, options);
76 ObjectSetPrototypeOf(Hash.prototype, LazyTransform.prototype);
77 ObjectSetPrototypeOf(Hash, LazyTransform);
79 Hash.prototype.copy = function copy(options) {
84 return new Hash(this[kHandle], options);
87 Hash.prototype._transform = function _transform(chunk, encoding, callback) {
92 Hash.prototype._flush = function _flush(callback) {
97 Hash.prototype.update = function update(data, encoding) {
117 Hash.prototype.digest = function digest(outputEncoding) {
146 Hmac.prototype.update = Hash.prototype.update;
163 Hmac.prototype._flush = Hash.prototype._flush;
164 Hmac.prototype._transform = Hash.prototype._transform;
189 Hash,