#1
|
|||
|
|||
Strange string encoding in C code
Can someone explain how this encoding works, thanks
Code:
int a[]={21,19,6,17,12}; for(int i=0;i<5;++i){ int c=0; for(int j=0;j<5;++j){ c+=a[j]<<(i*j); } printf("%c",'a'+c%31); } |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
.NET Reactor v. 6.7.0.0 CF and String Cleaners Source Code | Aesculapius | Source Code | 0 | 08-28-2021 02:13 |
Code snippet for Base34 Encoding | TempoMat | General Discussion | 11 | 03-29-2020 17:58 |
Base Encoding Library for Delphi | XorRanger | Source Code | 0 | 04-30-2015 15:37 |