主权项 |
1. A method for encoding encrypted voice data for further processing, the method comprising:
receiving an input voice data vector of length m, where m is an integer, and wherein the input voice data vector is originated from a microphone; down-sampling the received input voice data vector to generate down-sampled input data vector; splitting the down-sampled input data vector to k multiple vectors, each multiple vector having a length smaller than m, where k is an integer; multiplying each of the multiple vectors by a power of 2 to obtain k number of intermediate vectors, each intermediate vector having a same length equal to the length of a vector of the k multiple vectors with the largest length; summing the k number of intermediate vectors to obtain a single summed vector; encrypting the single summed vector to obtain an encrypted vector; transmitting the encrypted vector over the Internet to an operational unit to have the encrypted vector operated on to obtain a processed encrypted vector; receiving the processed encrypted vector over the Internet; decrypting the received encrypted vector to obtain a processed decrypted vector; dividing the processed decrypted vector by modulus a power of 2 to obtain multiple transitional vectors of the same dynamic range and the same length; concatenating the multiple transitional vectors to obtain a recovered voice data vector of length m, wherein k=2, wherein the received input data vector includes m x-bit samples and each entry of the first and second vectors is y bits long, and wherein said down-sampling the received input data vector further comprises: dividing the received input data vector to m number of y-bit samples entered on 0 mod 2̂y by shifting all samples to a 0 mean, and dividing all samples by 2̂ x-y; and playing back the recovered voice data vector by a speaker. |