* Updates the hash with the current state of the StringXor object. * @param {Hash} hash Hash instance
(hash)
| 95 | * @param {Hash} hash Hash instance |
| 96 | */ |
| 97 | updateHash(hash) { |
| 98 | const value = this._value; |
| 99 | if (value !== undefined) hash.update(value); |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | module.exports = StringXor; |
no test coverage detected