js/sha3.js
/**
     * Rotate left by n bits.
     */
Rotate left by n bits.
Rotate left by n bits .
rotl(n) {
        if (n < 32) {
            const m = 32 - n;
            const lo = this.lo<<n | this.hi>>>m;
            const hi = this.hi<<n | this.lo>>>m;
            return new Sha3.Long(hi, lo);
        }
        if (n == 32) {
            return new Sha3.Long(this.lo, this.hi);
        }
        if (n > 32) {
            n -= 32;
            const m = 32 - n;
            const lo = this.hi<<n | this.lo>>>m;
            const hi = this.lo<<n | this.hi>>>m;
            return new Sha3.Long(hi, lo);
        }
    }
rotl ( n ) { if ( n < 32 ) { const m = 32 - n ; const lo = this . lo << n | this . hi >>> m ; const hi = this . hi << n | this . lo >>> m ; return new Sha3 . Long ( hi , lo ) ; } if ( n == 32 ) { return new Sha3 . Long ( this . lo , this . hi ) ; } if ( n > 32 ) { n -= 32 ; const m = 32 - n ; const lo = this . hi << n | this . lo >>> m ; const hi = this . lo << n | this . hi >>> m ; return new Sha3 . Long ( hi , lo ) ; } }
Rotate left by n bits.
Rotate left by n bits .