[SciPy-User] encryption of numpy array (wav file) ?
Sat Jul 25 16:17:17 CDT 2009
On Sat, Jul 25, 2009 at 16:13, Stef Mientki<firstname.lastname@example.org> wrote:
> I need to encrypt a wav file (conversation between doctor and his patient).
> Now it's easy to convert a wav file ( or maybe even the sound stream
> itself) into a numpy array.
> Everything runs on a slow machine (netbook),
> so I hope numpy can encrypt on the flight.
> I don't need very secure encryption, just good enough to protect the
> patient information from accidental listening by others.
> Any idea of a relative simple (and fast) encryption method with numpy
> arrays ?
Not on numpy arrays, no. Just use the normal crypto tools on strings.
Preferably, use a complete tool like GPG (for files) or SSL (for
network connections) than just using a library like PyCrypto.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the SciPy-User