How to use the locutus/php/strings/sha1 function in locutus

To help you get started, we’ve selected a few locutus examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CalderaWP / Caldera-Forms / clients / pro / store / util / API.js View on Github external
export  const appToken = function (apiKeys) {
	if( objHasProp(apiKeys,'public') && objHasProp(apiKeys,'secret')){
		let publicKey = apiKeys.public;
		let secret = apiKeys.secret;
		return sha1( publicKey + secret);
	}
	return '';


};
github CalderaWP / Caldera-Forms / includes / cf-pro-client / client / store / util / API.js View on Github external
export  const appToken = function (apiKeys) {
	if( objHasProp(apiKeys,'public') && objHasProp(apiKeys,'secret')){
		let publicKey = apiKeys.public;
		let secret = apiKeys.secret;
		return sha1( publicKey + secret);
	}
	return '';


};