![]() |
encrypt function
1 Attachment(s)
This is a little encrypt function I made, attached below
Attachment 44536 Now, there are 3 arguments, encrypt(string, key, buffer); String can be anything from "foo" to "Hi there, I'm Chompy and this text is going to be encrypted". Key is just an extra factor to the encryption, it can be whatever you want it to be Buffer, this is the length of the string that you will get in return, can be any length, from 1 to 100 or more Remember, the longer the arguments are, the longer it takes to encrypt, logical :p anyways, some examples: PHP Code:
If you find any bugs and such, feel free to post them :o |
Oooh nice, looks like it was fun to make :p
|
how to decode?
|
Quote:
|
he didn't post one, i don't see a point in encoding things anyway, most people wouldn't even know how to decode an md5 hash tbh, well in Graal anyway
|
Quote:
|
|
Quote:
d38cbe1816dd0c9919ebfba20f654fca Literal text: "This is a test to see if MD5 decrypter can actually decrypt MD5..." You'll see that it won't work. |
who would use that as a password?
i see your point though |
Quote:
What his point is that the only way that website works is by trying things they've already stored in their database. No "decryption" (even though encryption/decryption is the wrong word for MD5 hashing) is taking place. |
You measure encryption effectiveness in (at least) two ways:
1. Is it feasible to easily determine two (or more) strings producing the same encrypted string? 2. Is it likely that two similar strings produce similar encrypted strings? Yours passes both. Well done. |
Is there ever a need to decode? When I was learning PHP I remember reading about encrypting and such and you never need to decode an encryption, simply taking inputted text and encrypting it and comparing it to the already encrypted text.
|
Quote:
|
Oh, I get it coool he he
|
| All times are GMT +2. The time now is 06:29 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.