|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: iSCSI: BASE64 and numerical values--- Michael Schoberg <michael_schoberg@cnt.com> wrote: > I personally don't see the problem with large > decimal, base64, or hex. It > seems like the algorithms to convert these back to > machine values are > relatively simple. They're far simpler than the > authentication and > encryption algorithms we're working with. Getting rid of encoding large numbers/binary-strings in decimal was a very good thing. Conversion from decimal to binary is simple but it is time and/or space consuming. I looked it up in Knuth last time when I saw the casual comment of it not being so. From what I understood, the simple algorithms all (both?) are O(n^2) time. If you want to do better than that, they get complicated fast and you start losing space (I think, mostly to store precomputed multiplication results and such). Martins Krikis, Intel Corp. Disclaimer: these opinions are mine and may not be those of my employer. __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
Home Last updated: Wed May 22 16:18:37 2002 10211 messages in chronological order |