Hasher: {
    _createHelper(hasher: HasherStatic): HasherHelper;
    _createHmacHelper(hasher: HasherStatic): HmacHasherHelper;
}

Type declaration

  • _createHelper:function
    • Creates a shortcut function to a hasher's object interface.

      Parameters

      • hasher: HasherStatic

        The hasher to create a helper for.

      Returns HasherHelper

      The shortcut function.

      var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
      
  • _createHmacHelper:function
    • Creates a shortcut function to the HMAC's object interface.

      Parameters

      • hasher: HasherStatic

        The hasher to use in this HMAC helper.

      Returns HmacHasherHelper

      The shortcut function.

      var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);