>>>>> "AW" == Andreas Weller <wel...@andreas-weller.de> writes:

AW> Very simple example:
AW> ./c2enc 1400 hts1a.raw - |openssl enc -rc4 -k Test|openssl enc -rc4 -d
AW> -k Test| ./c2dec 1400 - - |play -t raw -r 8000 -s -2 -

If you choose to use rc4, be sure to prep it first (it needs to be run
on quite a bit of junk before it is run on any valuable plaintext or it
will leak the key).

DJB's chacha¹ is a better stream cipher.

You'll need fec and/or retransmission after the encryption.  DTLS² might
provide some ideas on how to do so, but it probably is too heavy directly
to use.

1] cf http://cr.yp.to/chacha.html
      http://tools.ietf.org/html/draft-nir-cfrg-chacha20-poly1305-04
      http://nacl.cace-project.eu/index.html

2] http://en.wikipedia.org/wiki/Datagram_Transport_Layer_Security

-JimC
--
James Cloos <cl...@jhcloos.com>         OpenPGP: 0x997A9F17ED7DAEA6

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to