select HASHBYTES(‘sha’,’what is it’)
Result –0x2327A09C2FDAD132E436B5CC12E9D5D283B5BA69
is it possible to convert back hashbytes to string ‘0x2327A09C2FDAD132E436B5CC12E9D5D283B5BA69’ as a input
want to get out put as ‘what is it’?
select HASHBYTES(‘sha’,’what is it’) Result –0x2327A09C2FDAD132E436B5CC12E9D5D283B5BA69 is it possible to convert back hashbytes to
Share
Absolutely not. A hash is, by definition, one way.
What you’re looking for is encryption, which you can do using the EncryptByCert and DecryptByCert functions, explained in detail here.