Module: Crypto
4 Attachment(s)
Description
This module is used for cryptographic purposes. It is made to be simple of usage. You need hash - you get it. Algorithms Code:
It uses only one native - crypto_hash and has three arguments. First argument is the algorithm type. Second argument is the string you want to hash Third argument is the variable to save the result from the hash. Code:
The function has return codes, which of them are: Code:
Code:
Installation
Changelog Code:
I am willing to implement as much algorithms as possible - both encryption/decryption and hashing. Code:
You can find the source code available here: https://github.com/stfkolev/crypto-amxx |
Re: Module: Crypto
Why should I use this vs the native hash_string()?
|
Re: Module: Crypto
No particular reason, I even encourage all who see this topic to use it instead of this module. It's integrated already. Didn't know it existed, sorry.
|
Re: Module: Crypto
Good job. Having a dedicated module isn't a big problem.
|
Re: Module: Crypto
Can anyone give one good example of using hash_string ? Maybe for pass (login system) for mysql?
|
Re: Module: Crypto
Quote:
For example, for MyBB: PHP Code:
Altough it would be easier to implement a Steam login to bind the IDs to your forum users unless, well, you know. |
Re: Module: Crypto
Quote:
|
All times are GMT -4. The time now is 21:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.