krpanotools Encrypt Tool
The krpanotools encrypt tool can be used to encrypt files for the krpano viewer.
As key for the encryption the registered license will be used. That means only a viewer file with
the same embedded licenses will be able to load / to decrypt the encrypted files.
For HTML5 usage only xml files (and optionally also custom js plugin) can be encrypted.
Loading encrypted images is not possible in HTML5.
The tool need to be called from command line or from batch / script files.
krpanotools encrypt [OPTIONS] inputfiles
- Any xml, swf, js, or image files (placeholder * allowed).
- Flash Notes - video, audio and qtvr files are not supported and can't be loaded when encrypted.
- HTML5 Nodes - for HTML5 support only .xml files and custom .js plugins can be encrypted.
- OPTIONS (optionally)
|-h5||Use only the HTML5-compatible encryption method. Files which can't be encrypted with this method will be skipped.|
|-bin||Use only the binary Flash-only encryption method. Files encrypted with this method can't be loaded in HTML5!|
|-p||Use a public-key for the encryption. Everyone will be able to load that file.|
|-z||Compress the files (recommended for large xml files).|
|-ow||Overwrite the original file with the encrypted one. Warning - Use with care!|
|-rn||Rename the original file before (".original" will be added).|
|-in=#||Set the input filename manually.|
|-out=#||Set the output filename manually.|
|-q||Quiet mode - no console output.|