What kind of hash is this? [closed]

2019-07-24 15:25发布

问题:

What kind of hash is this?

Y16T+T/2sBhrDvaA9MBGGeh9D0pJVpkihCw=

回答1:

Doesn't look like hash to me. It's a base64-encoding of 26 bytes of data:

$ echo 'Y16T+T/2sBhrDvaA9MBGGeh9D0pJVpkihCw=' | base64 -d |xxd
0000000: 635e 93f9 3ff6 b018 6b0e f680 f4c0 4619  c^..?...k.....F.
0000010: e87d 0f4a 4956 9922 842c                 .}.JIV.".,


回答2:

I doubt that's actually a hash. It looks like base64 to me, which is an encoding. It's a slight technicality, but encoding's can be reversed easily, hash's can't.

EDIT: Running it through a base64 decoder, it's binary data (if it is infact a base64 encoded string). I believe it is though, the '=' on the end is a giveaway, and the rest of the string conforms to base64 too.



回答3:

It's no hash. It's Base64 encoding. The trailing = is usually a good indicator that it's Base64.

The contents of the decoded text are pretty much gibberish, though.



标签: hash