Playing an encrypted sound file

Just a quick question about sound files. Is it possible to play an encrypted sound file if you know the algorithm and password? I used to use the MBS plugins to accomplish this but since Apple has disallowed Quicktime I can’t do it that way anymore. I would use the MBS plugins to load the sound as a string, decrypt it, and then set it to a variable to play it when I needed it to play but it all relied on Quicktime.