0

is there a way to convert sha-1 to sha256 for a file. suppose SHA-1 of a files is a14bab81de06e9b590f6cfcd400f90fb5b667eff

Func(a14bab81de06e9b590f6cfcd400f90fb5b667eff) = SHA-256

Here I don't have the original file, else Get-FileHash in powershell would have solved my problem. Thank you.

Gereon
  • 17,258
  • 4
  • 42
  • 73

1 Answers1

1

No, that's not possible. SHA algorithms need to see all the data in the original files.

Gereon
  • 17,258
  • 4
  • 42
  • 73