Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
v:2.0:customers [2018/11/19 12:34] – [How Customers Are Defined and Created] adam | v:2.0:customers [2019/06/17 22:12] – foxybrett |
---|
====== Customers: Notes and Features ====== | ====== Customers: Notes and Features ====== |
| |
Without the customer, e-commerce wouldn't be very exciting (or profitable), so a thorough understanding of the customer as treated by FoxyCart is important for any merchant or developer using FoxyCart. | Without the customer, e-commerce wouldn't be very exciting (or profitable), so a thorough understanding mof the customer as treated by FoxyCart is important for any merchant or developer using FoxyCart. |
| |
| |
: **Notes:** Returns a base64 encoded string, made up of a concatenated string using ''"\0" . $salt . $hash''. No separate salt is returned, and the hash should be base64 decoded before encoding the concatenated string. | : **Notes:** Returns a base64 encoded string, made up of a concatenated string using ''"\0" . $salt . $hash''. No separate salt is returned, and the hash should be base64 decoded before encoding the concatenated string. |
| |
; ''pbkdf2 (for MODX Revolution)'' | ; ''pbkdf2'' |
: **Method:** From [[https://github.com/modxcms/revolution/blob/develop/core/model/modx/hashing/modpbkdf2.class.php|MODX Revolution's code]] | : **Method:** From [[https://github.com/modxcms/revolution/blob/develop/core/model/modx/hashing/modpbkdf2.class.php|MODX Revolution's code]]. Note that MODX no longer uses this method. |
: **Configuration:** Comma separated values for ''iterations'', ''key length'', ''algorithm''. Defaults to ''1000, 32, sha256''. | : **Configuration:** Comma separated values for ''iterations'', ''key length'', ''algorithm''. Defaults to ''1000, 32, sha256''. |
: **Notes:** Returns a base64 encoded hash, and uses a 32 character long salt | : **Notes:** Returns a base64 encoded hash, and uses a 32 character long salt |
: **Supported Systems:** | : **Supported Systems:** |
* [[http://modx.com/|MODX Revolution 2.x]] (default configuration) | * [[http://modx.com/|MODX Revolution 2.x]] (old default configuration; no longer default) |
| |
; ''sha1'' | ; ''sha1'' |