摘要 |
Methods for encoding user data into an audio file, and for decoding of the same, are provided. Embodiments include preparing user data for encoding into the audio file including writing user data in blocks of data including header and other information in addition to the user data. An audio file is read and parsed into words of audio data. In each word of audio data, a least significant bit is replaced with one bit of the prepared user data, and the audio data with the encoded user data is saved to a file. Methods of decoding the encoded audio file include extracting the user data from each least significant bit, verifying header information, and re-constructing the user data to a file.
|