lib/WalletManager.php
/*
     * @param string Hex encoded string of the data to hash
     * @return string Hex encoded string of the hashed data
     *
     */
@param string Hex encoded string of the data to hash
@return string Hex encoded string of the hashed data
@param string Hex encoded string of the data to hash @return string Hex encoded string of the hashed data
public function keccak_256($message)
    {
        $keccak256 = SHA3::init (SHA3::KECCAK_256);
        $keccak256->absorb (hex2bin($message));
        return bin2hex($keccak256->squeeze (32)) ;
    }
public function keccak_256 ( $ message ) { $ keccak256 = SHA3 :: init ( SHA3 :: KECCAK_256 ) ; $ keccak256 -> absorb ( hex2bin ( $ message ) ) ; return bin2hex ( $ keccak256 -> squeeze ( 32 ) ) ; }
@param string Hex encoded string of the data to hash
 @return string Hex encoded string of the hashed data
@param string Hex encoded string of the data to hash @return string Hex encoded string of the hashed data