i have the following code char[] Etag(string file){ auto info = DirEntry(file); ubyte[16] hash = md5Of(to!string(info.timeLastAccessed.day)~ to!string(info.timeLastAccessed.month)~ to!string(~info.timeLastAccessed.year)~ file); char[] hashstring = toHexString(hash); writeln(hashstring); return hashstring; }the proper hash string prints out in the console, but when i try to use the return value of Etag it becomes an obscure string?
- md5 hashing acting strangly? Sean Campbell via Digitalmars-d-learn
- Re: md5 hashing acting strang... bearophile via Digitalmars-d-learn
- Re: md5 hashing acting st... Kagamin via Digitalmars-d-learn
- Re: md5 hashing actin... bearophile via Digitalmars-d-learn
- Re: md5 hashing a... Kagamin via Digitalmars-d-learn
- Re: md5 hash... bearophile via Digitalmars-d-learn
- Re: md5 ... Kagamin via Digitalmars-d-learn
- Re: md5 ... Kagamin via Digitalmars-d-learn
- Re: md5 ... Ary Borenszweig via Digitalmars-d-learn