PhD in Computer science, data scientist at Consid AB.
The following command can be used to encrypt a sparsebundle in OS X.
$ sudo hdiutil convert -format UDSB \ -encryption AES-128 \ -o <new.sparsebundle> \ <old.sparsebundle>