Options
All
  • Public
  • Public/Protected
  • All
Menu

A 64-bit word.

Hierarchy

  • Word

Index

Methods

add

  • Adds this word with the passed word.

    example
    var added = x64Word.add(anotherX64Word);
    

    Parameters

    Returns cryptojs.x64.Word

    A new x64-Word object after adding.

and

  • Bitwise ANDs this word with the passed word.

    example
    var anded = x64Word.and(anotherX64Word);
    

    Parameters

    Returns cryptojs.x64.Word

    A new x64-Word object after ANDing.

not

  • Bitwise NOTs this word.

    example
    var negated = x64Word.not();
    

    Returns cryptojs.x64.Word

    A new x64-Word object after negating.

or

  • Bitwise ORs this word with the passed word.

    example
    var ored = x64Word.or(anotherX64Word);
    

    Parameters

    Returns cryptojs.x64.Word

    A new x64-Word object after ORing.

rotL

  • Rotates this word n bits to the left.

    example
    var rotated = x64Word.rotL(25);
    

    Parameters

    • n: number

      The number of bits to rotate.

    Returns cryptojs.x64.Word

    A new x64-Word object after rotating.

rotR

  • Rotates this word n bits to the right.

    example
    var rotated = x64Word.rotR(7);
    

    Parameters

    • n: number

      The number of bits to rotate.

    Returns cryptojs.x64.Word

    A new x64-Word object after rotating.

shiftL

  • Shifts this word n bits to the left.

    example
    var shifted = x64Word.shiftL(25);
    

    Parameters

    • n: number

      The number of bits to shift.

    Returns cryptojs.x64.Word

    A new x64-Word object after shifting.

shiftR

  • Shifts this word n bits to the right.

    example
    var shifted = x64Word.shiftR(7);
    

    Parameters

    • n: number

      The number of bits to shift.

    Returns cryptojs.x64.Word

    A new x64-Word object after shifting.

xor

  • Bitwise XORs this word with the passed word.

    example
    var xored = x64Word.xor(anotherX64Word);
    

    Parameters

    Returns cryptojs.x64.Word

    A new x64-Word object after XORing.

Generated using TypeDoc