× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



From: Nathan M. Andelin <nandelin@relational-data.com>
> > If I simply wanted to encrypt data on my local machine
> > I could knock up a program in about an hour that would
> > give me 100% uncrackable encryption. Simply use a
> > random key the same length as the data to be protected.
> > XOR each byte of the message with the corresponding
> > byte of the key.
>
> It seems to me that the hard part with this method is generating /
> maintaining a truely random key that is the same length as your data.  What
> if you need to encrypt large files?
>

work with 16 byte values.
set x0 = some random seed value
xor each block of 16 bytes with xi
where xi = fractional part of a*log(xj)
where j = i-1 and a is some (relatively) large value e.g. 1234.5678

this gives you a pseudo-random number with no period
(within the accuracy of 16 bytes).






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.