Quote:
I encoded my string with password_hash in my PHP page, but now I need to encode a string in my C# Windows Forms Application.
Short answer: You don't decode a hash because it is not reversible.
A hash is not encryption, hash is specially designed to prevent 'unhashing'.
Hash function - Wikipedia[^]
As stated in php manual, the php feature can change over time.
If you want same hashing over php and C#, you need to choose a hashing algorithm/library that will be available in both languages.
Quote:
Sadly, I have deleted my code accidentally.(My PC got shut off..)
Serious programmers are loosing their time doing useless backups because 1 day, the useless backup turns to invaluable.
Backup - Wikipedia[
^]
Version control - Wikipedia[
^]