Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  MP3 on-the-fly decryption
« previous next »
  • Print
Pages: [1]

Author Topic: MP3 on-the-fly decryption  (Read 1700 times)

Offline dvl09

  • Member
  • *
  • Posts: 1
MP3 on-the-fly decryption
« on: September 17, 2011, 06:24:37 PM »
What about encrypting mp3 files using a simple algorithm like Tiny Encryption Algorithm before copying them to the player ... and then decrypting them on the fly (just in memory) before or while playing in Rockbox? Could this be possible by writing a plugin or just by modifying the main code? Thanks
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: MP3 on-the-fly decryption
« Reply #1 on: September 17, 2011, 06:56:14 PM »
Would be easiest to modify the decoder, or just add a new file type for encrypted files that passes the decrypted data to the normal decoder like we do for AAC in real audio files.

Take a look at this commit which adds support for AAC in RM:

http://svn.rockbox.org/viewvc.cgi?view=rev&revision=22031

You'd pretty much want to do the same thing except with your decryption algorithm in there somewhere, and of course mp3 instead of aac.

Can't really see why you'd want to do this though.  
« Last Edit: September 17, 2011, 06:59:37 PM by saratoga »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  MP3 on-the-fly decryption
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.064 seconds with 15 queries.