llms_rest_api_hash( string $data )

Generate a keyed hash value using the HMAC method with the key llms-rest-api

Parameters Parameters


(string) (Required) Message to be hashed.

Top ↑

Return Return


Top ↑

Source Source

File: libraries/lifterlms-rest/includes/llms-rest-functions.php

function llms_rest_api_hash( $data ) {
	return hash_hmac( 'sha256', $data, 'llms-rest-api' );

Top ↑

Changelog Changelog

Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.