Post File Encryption Dialog

Introduction

This topic will explain Post Encryption, describe where to access it, the options found in the EncryptPostingFile dialog, and provide examples.

Post Encryption

When using the Post File Encryption dialog on a post processor that has not been prepped in advance, the entire post will be encrypted and unreadable when opened. This can be used for a variety of reasons but the end result is that only the Licenses, or Customer ID's that were listed when encrypting will be able to use the post processor, unless the Work for Any License ID check box was selected. With a little bit of prep work, particular portions of the post can be encrypted, while the rest is left alone. To accomplish this, one must open the post processor and use <--BEGIN ENCRYPT and <--END ENCRYPT on their own line to box in the portion of the post to be encrypted. This topic explains the Post File Encryption dialog box parameters.

  • Select BobCAM > Post Encryption.

    The EncryptPostingFile dialog appears.

The EncryptPostingFile Dialog

Original .BCPst file

Select - C:\BobCAD-CAM Data\*(CurrentVersion)*\Posts\Mill\BC_3x_Mill.BCPst

 

Clicking Select will open the File Open dialog to allow you to select the *.BCPst file to encrypt.  No changes will be made to the original file. The address above is used as an example.

Encrypted .BCPst file

Select - C:\BobCAD-CAM Data\*(CurrentVersion)*\Posts\Mill\BC_3x_Mill-Encrypted.BCPst

 

Clicking Select will open the Save As dialog to allow you to select the *.BCPst file to name the file after.  By default the Encrypted *.BCPst file will be named the same as the Original post file with “-Encrypted” added to the end of the file name, but the file can be named anything. The file should not use the same name as the original file, as that would overwrite the original copy.

Work for Any License ID

- With this check box cleared, one of the other options must be used for encryption. Either a Supported License ID or a Supported Customer ID must be entered into the respective area.

- With this check box selected, the post will work with any license ID.

Supported License ID

Enter all License ID's that should be allowed to work with the encrypted post. Multiple License ID’s can be entered in this list box which will make it so the post processor only works for those particular Licenses.

 

 Multiple licenses can be used when separated by commas:

  • 1111, 2222, 3333

 

Commas with additional lines can be used as well:

  • 1111,
    2222,
    3333

Supported Customer ID

Enter all Customer ID's that should be allowed to work with the encrypted post. Multiple Customer ID’s can be entered in this list box which will make it so the post processor only works for those particular ID's. This can be extremely helpful since, while the same customer will have a new License ID when they get a newer version of the software, they will usually maintain the same Customer ID. In this way, the same encrypted post would be able to be used in a newer version of the software.

 

 Multiple Customer ID's can be used when separated by commas:

  • 1111, 2222, 3333

 

Commas with additional lines can be used as well:

  • 1111,
    2222,
    3333

Examples

How to Encrypt an Entire Post

Once the EncryptPostingFile dialog has launched, there are only a few key steps to follow:

 

  1. Select the Original .BCPst file to encrypt.

    This can be done by:

    1. Typing the file name and address into the text field.

    2. Clicking Select and choosing the file from the file Open dialog.

 

 

  1. Select a name and location for saving the encrypted post. This will go in the Encrypted .BCPst file text field.

    This can be done by:

    1. Using the default name. By default -Encrypted will be added to the existing file name.

    2. Typing in a new name and address into the text field.

    3. Clicking Select and selecting a file to overwrite.


  2. Decide who will be able to use the encrypted post.

    This can be done by:

    1. Select the Work for Any License ID check box to allow anyone to use the post. Although everyone will be able to use the post, the data will still be encrypted.

      If this method is used, the other two methods will not be necessary.

    2. List the License ID's that will be able to use the encrypted post in the Supported License ID list box.

      These should be separated by commas.

    3. List the Customer ID's that will be able to use the encrypted post in the Supported Customer ID list box.

      These should be separated by commas.

  3. Click the Encrypt button.

    A success message appears.

    The post is now encrypted.

  4. Click OK to close the message box.

  5. Click Close to close the EncryptPostingFile dialog.

  6. In the CAM Tree, assign the new post and post code as usual.

How to Encrypt a Portion of a Post

Encrypting a portion of the post takes a little prep work and is explained in the steps below.

 

  1. Open the post processor you intend to encrypt in a program like Notepad, as we will need to edit the post and save our edits.

  2. Scroll through the post until you find the portion of the post you with to encrypt.

  3. Move the cursor to the start of the line and press Enter to the create an empty line.

  4. Move the cursor to the empty line.

  5. Type <--BEGIN ENCRYPT.

  6. Scroll to the end of the section to be encrypted.

  7. Move down a line and place the cursor at the start of that line.

  8. Press Enter to create an empty line.

  9. Move the cursor to the empty line.

  10. Type <--END ENCRYPT.

  11. Save the file.

    The post is now ready to be encrypted. Only the portion between <--BEGIN ENCRYPT and <--END ENCRYPT will be encrypted.

  12. In the Help Menu, select Post Encryption.

    The Post File Encryption dialog appears.

  13. Select the Original .BCPst file to encrypt. This is the file we edited and saved.

    This can be done by:

    1. Typing the file name and address into the text field.

    2. Clicking Select and choosing the file from the file Open dialog.

 

 

  1. Select a Save As name for the encrypted post to use.

    This can be done by:

    1. Using the default name. By default -Encrypted will be added to the existing file name.

    2. Typing in a new name and address into the text field.

    3. Clicking Select and selecting a file to overwrite.


  2. Decide who will be able to use the encrypted post.

    This can be done by:

    1. Select the Work for Any License ID check box to allow anyone to use the post. Although everyone will be able to use the post, the data will still be encrypted.

      If this method is used, the other two methods will not be necessary.

    2. List the License ID's that will be able to use the encrypted post in the Supported License ID's list box.

      These should be separated by commas.

    3. List the Customer ID's that will be able to use the encrypted post in the Supported Customer ID's list box.

      These should be separated by commas.

  3. Click the Encrypt button.

    A success message appears.

    The post is now encrypted.

  4. Click OK to close the message box.

  5. Click Close to close the Post File Encryption.

  6. In the CAM Tree, assign the new post and post code as usual.

 

 

Line to Encrypt Encryption Block Created Block Encrypted

725. Rotary forward direction string? "+"

726. Rotary reverse direction string? "-"

727. Retract to initial position? "G98"

728. Retract to R Plane? "G99"

 

729. Feed Mode UPR Code? "G99"

 

750. Laser-Plasma-Waterjet Cutter Width Prefix?

751. Laser-Plasma-Waterjet Pierce Height Z Location Prefix?

752. Laser-Plasma-Waterjet Cutter On Code?

753. Laser-Plasma-Waterjet Cutter Off Code?

725. Rotary forward direction string? "+"

726. Rotary reverse direction string? "-"

727. Retract to initial position? "G98"

728. Retract to R Plane? "G99"

<--BEGIN ENCRYPT

729. Feed Mode UPR Code? "G99"

<--END ENCRYPT

750. Laser-Plasma-Waterjet Cutter Width Prefix?

751. Laser-Plasma-Waterjet Pierce Height Z Location Prefix?

752. Laser-Plasma-Waterjet Cutter On Code?

753. Laser-Plasma-Waterjet Cutter Off Code?

 

725. Rotary forward direction string? "+"

726. Rotary reverse direction string? "-"

727. Retract to initial position? "G98"

728. Retract to R Plane? "G99"

 

<--ENCRYPTED BEGIN

//  The post will work on ANY license ID

85RHYSJBHBCQ3856B7QA9KJX8A04

Q2N8NJXBFE66XMI549Y4XM9C8I18

56SIYFC6U89EMYFQCYS9EJ63H228

KG2CJVF9YJ4RFGV58HY3IYQ3N769K3VKNZXKH6BZV87FHPGRWKISD9

TIDPJWMR7V78WQQAMRKGMUSI56A8

VY8386KI3D5VJF84BFUVFKIDGT5GGVPAIGJ7A56RCPB4AKDIHRJ4IHIRK4Q7RZDZDF8HHRKEZ9IRC8E

<--ENCRYPTED END

 

750. Laser-Plasma-Waterjet Cutter Width Prefix?

751. Laser-Plasma-Waterjet Pierce Height Z Location Prefix?

752. Laser-Plasma-Waterjet Cutter On Code?

753. Laser-Plasma-Waterjet Cutter Off Code?