Jump to content

Dear members, finally, we decided to refresh our theme. Decision was brought based on multiple factors, primarily because of technical needs as old one is not compatible with a new platform version, but also because you all asked for a darker theme.
Here you go!

Please head here if you want to vote https://www.elite7hackers.net/topic/411861-the-new-theme/

 

This site uses cookies! Learn More

This site uses cookies!

For providing our services, we do use cookies.
But get used, this is what most of modern web do!
However we have to warn you since we are obligated to so due to EU laws.

By continuing to use this site, you agree to allow us to store cookies on your computer. :)
And no, we will not eat your computer nor you will be able to eat those cookies :P

Sign in to follow this  
xZero

xAlz Encryption v2.0 [PHP] (OBSOLETE)

Recommended Posts

Here is my Encryption algorithm written in PHP, this is the newest version, v2.0 . I am using it for a long time and no issues.  

<?PHP
function xAlz($input, $salt = NULL)
{
    // xAlz 2.0
    $Key['X'] = substr(sha1($input), 7, 13);
    $Key['A'] = strlen($Key['X']) * strlen($input) * 1024 / 64;
    $Key['L'] = base64_encode($Key['A'] . "/$salt" . $Key['X']);
    $Key['Z'] = hash_hmac('SHA512', $input, $Key['X'] . $Key['L']);
    return hash_hmac('SHA256', $Key['Z'], $Key['X']);
}
?>

Save this code in file "xAlz.php" and add this to your main page:

require "xAlz.php";

Then for encryption just use (example):

- Without salt -

<?PHP
$string = "elite7hackers.net";
echo "xAlz Hash for $string is" . xAlz($string);
?>

- With salt -

<?PHP
$string = "elite7hackers.net";
$salt   = "hccoUv6rZkyX7D8BCQTJoIVOP2uRgPAx";
echo "xAlz Hash for $string is" . xAlz($string, $salt);
?>

 

Output is SHA256 hash, but it's pre-hashed several times in multiple algorithms before final output so there are no possible chances that for example hashed "TEST" will match in any hash database existing, even without using salt. Salt is just extra level of security. Brute force possibility: For now, none. What's new in 2.0: - Almost completely rewritten - Salt support DEMO: http://apps.elite7hackers.net/apps/UniHasher/

Share this post


Link to post
Share on other sites

This is not encryption, is hashing my friend. Encryption is a process of encoding a text, in such way that THE HACKER won't be able to read it, and then decrypted by the one who must receive the message :) The only way to `decrypt` a hashing string is guessing the input, hash it and compare with initial hash :D But what do I know.. you are the hacker :P

Share this post


Link to post
Share on other sites

Yeah that's hashing. My bad. Real encryption is AES for example. But hashing can be called encryption. And it is called encryption on many places over the internet. So for fun I love to call it encryption. And you are completly right about decrypting. MD2, MD4, MD5, SHA-1 etc. are one-way encryption algorithms. As it says "one-way", means that this can't be decrypted again. Only guessing (bruteforce, dictionary etc) as you said. UniHasher is an application for hashing (encrypting) string into many algorithms http://apps.elite7hackers.net/apps/UniHasher/ Check it out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

Elite7Hackers Netwok

Hack the imagination!

Support and inquiries

Open support ticket here or email us at [email protected]

Highlights

Highlighted/recommended lights

×

Important Information

By using this site, you agree to our Privacy Policy and Terms of Use.