News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

md5 hashing

Started by ninjarider, July 04, 2007, 09:41:24 PM

Previous topic - Next topic

Tedd

floor(x) - computes the largest integral value not greater than x (i.e. rounding down; floor(2.9) = 2.0)

By-the-by, there's also a function named "ceil" (ceiling: opposite of floor) which rounds up (ceil(2.1) = 3.0)


Anyway, you don't need to worry about it, it just explains how the table of 'k' values is computed. You can just copy the table from the source-code and use the values 'as is.'
(To 'use' floor in windows calculator, you'll just have to delete the digits after the decimal-point.)
No snowflake in an avalanche feels responsible.