pike.git / lib / modules / Crypto.pmod / SCRAM.pike

version» Context lines:

pike.git/lib/modules/Crypto.pmod/SCRAM.pike:16:   //! The hash object on which the SCRAM object should base its   //! operations. Typical input is @[Crypto.SHA256].   //!   //! @seealso   //! @[client_first]   protected void create(.Hash h) {    H = h;   }      private Crypto.MAC.State HMAC(string(8bit) key) { -  return H->HMAC(key, H->digest_size()); +  return H->HMAC(key);   }      //! Step 1 in the SCRAM handshake.   //!   //! @param username   //! The username to feed to the server.   //!   //! @returns   //! The request to send to the server.   //!