which kind of password encryption is this

mqqemZ0=

Recommended Answers

All 4 Replies

Member Avatar for diafol

Do you have any context? Looks like a hash for a shortening service.

base64 although that one doesn't mean anything.(first guess on those is always base64 as its using '=' as padding value). It should be 6 characters becahse base64 is 6 bits, ascii are 8 bits. Thus your 8 characters are equal to 48 bits, putting that in ascii(8 bits each) ends up being 6

the password is encrypted using the following code:

$password = rand(10000, 99999);
$password = encrypt($password, "webtech");
Member Avatar for diafol

Confused. If you know what you're using, why are you asking what is it? Something to do with the encrypt() function? It appears to be a user defined function as this does not exist AFAIK in php core. Please explain.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.