Find Hash algorithm while hash value and original value are available - hash

In this case i have clear Text password also i have hashed value of this password,so i need to know how can i find out what hashing algorithm was used and is it possible to use it for hashing another clear text password?

The Sums of a algoithm hast spezific length. This is Your First step.
Then you muss encod The Clear Text until you find The hashsum
Sorry send from German iphone

Related

How do I encode Reddit Data using Fast Text (running into Key Error)?

I'm running into a Key Error when I try to convert a column that contains Reddit data into Fast Text vectors. I've cleaned the Reddit text so that each row is a list with the words of the blog (all numbers & punctuation removed). Would appreciate any advice on how to get around this key error!
def abstract2vec(a, vecs):
return np.array([vecs[w] for w in a if w not in stop_words.ENGLISH_STOP_WORDS]).mean(axis=0)
EDIT: Yes, I believe this is because I'm trying to retrieve a word vector for a word that isn't in the mode's vocabulary. Does anyone have advice on how to change the function to address that?

SHA256 odd hex input

I was trying to hash 'abc' as a hex number input on two different sites, but both give different hash.
Later I found out, that one site interprets it as '0abc' and the second one as 'abc0'.
Since I'm finishing my sha256 hashing program, I was wondering which one is correct.
Thank you

iOS: 3 Strings into one hash. Find other string from hash of 2 strings

I have three strings : StrA, StrB, StrC.
And their hash is YT56ejff653499TYK
Now, if someone give me hash of StrA, StrB and its hash is IEoeuor749Hueiur7x, is there a way to extract StrC from YT56ejff653499TYK and IEoeuor749Hueiur7x
Assuming you are referring to some of the standard one-way hash functions like SHA-2 or similar, this should never be possible.
For example, if this was possible by any mean it would make the password hash salting technique essentially a disclosure of the original password.
In short, with a one-way hash function which is not broken this should not be possible.

Is it safe to use the hash of the plain text as a key for encryption?

If encrypt the plain text with its hash is it correct??
Where Can I find a paper that speak about it?
Is it possible Known-plaintext attack?
What would this be useful for? You would have the know the plain text to get back the plain text. If there is no need to remember the key (key is stored separately), you could as well generate a random key instead of a hash.

How best to display a file hash

Simple question. What is the best (most universal) way to display a file hash? Below are two SHA256 hashes for the same file. One is displayed as base64 and one is...something else. The file hash will be used for auditing to make sure the file we send is the same as the file the auditor received. If the hash needs to be verified, I want to make sure I provide the hash that is the most easily verifiable.
SHA256 55461e72cccb74b475278189956b9db307bf44945e1639af93c34b224b7fcfd
SHA256 Base 64 VUYecszLdLR1J4GJlWudswe/RJReFjmvk8NLIkt/z9s=
55461e72cccb74b475278189956b9db307bf44945e1639af93c34b224b7fcfd
The point of Base64 is to constrain the character set to displayable characters. The hash is in hexadecimal which is even more constrained.