Unix Programming - Re: Right way of using setkey(3) and encrypt(3)

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > December 2004 > Re: Right way of using setkey(3) and encrypt(3)





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Right way of using setkey(3) and encrypt(3)
cnystrom@gmail.com

2004-12-17, 2:49 am

Wayne C. Morris wrote:
>
> You're trying to use 64-byte strings. Both key[] and txt[] are

supposed to
> be 64-byte arrays of 1's and 0's (numeric values, not ASCII digits).


Thank you! That occured to me, but I had a hard time understanding why
they used a whole byte if they just wanted binary data. Strange.

> For a more practical program, you'd want to add functions to convert

an
> 8-byte string into a 64-byte array of 1's and 0's, and vice versa.

Ok, thanks.

Chris

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com