Plain hashing algorithm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just trying to satisfy my curiosity... hope that's ok...

When I do plain mode I can specify a hash or accept the default, ripemd160.

That isn't the full story, however, as the hash (160 bits) is stretched
to the key size (256 bits).

I've checked the source and can see the algorithm in the code
(crypt_plain.c#30-62).

I don't fully understand it but just wondered if that's some standard
alg similar PBKDF2 (which it isn't) or something specifc to cryptsetup?

I'm also curious about the "hack from hashalot". By googling that phrase
I find it's been copied into a number of other things.

Like I said, just curious.

Thanks,
John

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt




[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux