Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
candogu9-Jan-14 1:05
candogu9-Jan-14 1:05 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
GuyThiebaut9-Jan-14 2:03
professionalGuyThiebaut9-Jan-14 2:03 
AnswerRe: How do I generate 6 or 8 digits hash from a string and decode it back?? PinPopular
Rob Philpott9-Jan-14 1:29
Rob Philpott9-Jan-14 1:29 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
Paul Conrad13-Jan-14 14:00
professionalPaul Conrad13-Jan-14 14:00 
AnswerRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
joost.versteegen9-Jan-14 1:41
joost.versteegen9-Jan-14 1:41 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
candogu9-Jan-14 2:10
candogu9-Jan-14 2:10 
GeneralRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
joost.versteegen9-Jan-14 2:24
joost.versteegen9-Jan-14 2:24 
AnswerRe: How do I generate 6 or 8 digits hash from a string and decode it back?? Pin
jschell12-Jan-14 9:05
jschell12-Jan-14 9:05 
candogu wrote:
I need to encode a string to a 6 or 8 digits hash and decode it to original string


That is not possible. And it is proven as well.

Now if you want to take a string or binary data and create another string which will only contain alphanumerics then that is fairly easy. In most cases the second string will be longer than the first. You can look to Base64 encoding to see an example of how you might do this. (Base64 is similar to but not exactly the same as what the output you are asking for is.)
QuestionUse C# dll in C. Pin
sagar15898-Jan-14 22:28
sagar15898-Jan-14 22:28 
AnswerRe: Use C# dll in C. Pin
Shameel9-Jan-14 0:49
professionalShameel9-Jan-14 0:49 
AnswerRe: Use C# dll in C. Pin
David Knechtges9-Jan-14 3:19
David Knechtges9-Jan-14 3:19 
GeneralRe: Use C# dll in C. Pin
sagar15899-Jan-14 21:07
sagar15899-Jan-14 21:07 
AnswerMessage Removed Pin
9-Jan-14 10:05
professionalN_tro_P9-Jan-14 10:05 
GeneralRe: Use C# dll in C. Pin
sagar15899-Jan-14 19:09
sagar15899-Jan-14 19:09 
QuestionMessage Closed Pin
8-Jan-14 20:14
Member 105127088-Jan-14 20:14 
AnswerRe: vochancer program PinPopular
Mycroft Holmes8-Jan-14 20:24
professionalMycroft Holmes8-Jan-14 20:24 
AnswerRe: vochancer program PinPopular
OriginalGriff8-Jan-14 21:16
mveOriginalGriff8-Jan-14 21:16 
GeneralRe: vochancer program Pin
Rahul VB31-Jan-14 6:59
professionalRahul VB31-Jan-14 6:59 
QuestionIf else statemant Pin
manoj s sherje8-Jan-14 19:00
manoj s sherje8-Jan-14 19:00 
AnswerRe: If else statemant Pin
Wayne Gaylard8-Jan-14 19:20
professionalWayne Gaylard8-Jan-14 19:20 
AnswerRe: If else statemant Pin
Bernhard Hiller8-Jan-14 20:29
Bernhard Hiller8-Jan-14 20:29 
AnswerRe: If else statemant Pin
BillWoodruff8-Jan-14 20:35
professionalBillWoodruff8-Jan-14 20:35 
GeneralRe: If else statemant Pin
manoj s sherje8-Jan-14 22:03
manoj s sherje8-Jan-14 22:03 
GeneralRe: If else statemant Pin
OriginalGriff8-Jan-14 22:12
mveOriginalGriff8-Jan-14 22:12 
GeneralRe: If else statemant Pin
V.8-Jan-14 23:50
professionalV.8-Jan-14 23:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.