Skip to navigation
Wc-key-manager serial number with sodium hash to validate in offline mode
24.08.25
Instead of creating a random UUID for my serial WordPress WooCommerce wc-key-manager, create a sodium hash, change line around 300 in the file wordpress/wp-content/plugins/wc-key-manager/includes/Models/Key.php to: ``` if ( empty( $this->uuid ) ) { $this->uuid = sodium_bin2hex(sodium_crypto_generichash($this->code,'',18)); } ``` This way you can compare the hash with the serial in your app itself, without to be online.
https://www.php.net/manual/en/function.sodium-crypto-generichash.php
Reply
Anonymous
Information Epoch 1756395468
Live free or die.
Home
Notebook
Contact us