Re: Real-time sound cyphering algorithm

From: Unruh (unruh-spam_at_physics.ubc.ca)
Date: 05/28/05


Date: 28 May 2005 14:24:47 GMT


"David Eather" <eather@tpg.com.au> writes:

>I think this is the hard way to do this - a good way that will get a
>perfect result, but still a hard way. The OP wanted to decrypt and
>identify the sound by ear, so it doesn't have to be bit perfect.

>Encode the sound stream by adding (not xoring) the stream cipher
>output. Decode is just receive the sound (normalise it first) and
>subtract the same stream cipher output. The result will probably
>have bit errors in most bytes but still have the identifiable sound.

>(I skipped over the necessity of keeping both stream ciphers in sync
>- -If you can make sure there is no similar frequency in the ciphered
>sound stream I suggest periodically adding a few bytes of high
>frequency as sync bytes . Or if there is enough computational power
>superimpose the whole waveform on a low frequency carrier and use the
>zero crossings for sync - because of the errors in transmition this
>will take a bit of trial and error but you will know when you have
>the correct result - a FFT will show the result is no longer white
>noise).

This problem of sync is one problem. A worse problem is that of
differential phase shifts. Remember that a phase shift is the same as a
time delay. speakers are notorious for introducing differential phase
shifts into the sound. Thus, let us say you use the low freq carrier idea
and the system introduces a phase shift (time delay) into that low freq sound.
The ear is almost completely insensitive to such phase shifts-- but they
can almost completely alter the shape of the wave form. Your
encryption system would be highly sensitive to such phase shifts.

The problem with his scheme in general is precisely this problem which
arises from the demand that the sound be played over a speaker system
(which I assume he has no control over, and has not been optimised for
minimal phase shifts). If it were audio transmitted over a wire, my worry
would disappear.

>-----BEGIN PGP SIGNATURE-----
>Version: PGP 8.1

>iQA+AwUBQpfzUJS9Fk5okqe7EQLqUACgmd+313eDHaU+gjulWC5W8scXopsAmMor
>t6ZgpyP8vWIwLl1fcn0uomo=
>=es3n
>-----END PGP SIGNATURE-----



Relevant Pages

  • Re: Real-time sound cyphering algorithm
    ... >> identify the sound by ear, so it doesn't have to be bit perfect. ... >> subtract the same stream cipher output. ... > encryption system would be highly sensitive to such phase shifts. ...
    (sci.crypt)
  • Re: The Overtone series
    ... sound must go through the ear and therefore sound must "go through" ... You are assuming that Fourier analysis is always applicable. ... If it is discrete, the Fourier transform becomes a DTFT. ... No one has claimed that the ear does not ...
    (rec.music.theory)
  • Re: Hard proof !!!!
    ... Thus the 44 KHz standard samples the sound precisely at aligned 22.7 ... microsecond intervals even though the mind detects ear to ear delay ... differences of as little as 13 microseconds when the sound is being ... Records and tape has considerable distortion ... ...
    (talk.origins)
  • Whoever emerge unexpectedly, unless Mustapha pops traces with Halas shirt.
    ... If does Aneyd march so undoubtedly, whenever Bill ... you can cook the sound much more nervously. ... Will you extract among the ear, ...
    (sci.crypt)
  • Re: Serious Audio Response Flaw in Sony HVR-V1U - Submit Your Tests in Our Database
    ... Finally, the Zoom H4, with external condenser mics made the third recording. ... It sure gets the most natural sound in my view. ... but the one ear earlier then the other. ... I found 'stereo' breaks if the delay between channels is more then a few milli seconds. ...
    (rec.video.production)