Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

MBS FileMaker Plugin Example Databases

RSA Public Private Encryption

All examples are included with download of MBS FileMaker Plugin.

RSA Public Private Encryption.fmp12

Overview
Tables1
Relationships0
Layouts1
Scripts4
Value Lists0
Custom Functions0
Custom Menus33
File Options
Default custom menu set[Standard FileMaker Menus]
When opening file
Minimum allowed version12.0
Login usingAccount Name; Account= Admin
Allow user to save passwordOff
Require iOS passcodeOff
Switch to layoutOff
Hide all toolbarsOff
Script triggers
OnFirstWindowOpenOff
OnLastWindowCloseOff
OnWindowOpenOff
OnWindowCloseOff
OnFileAVPlayerChangeOff
Thumbnail Settings
Generate ThumbnailsOn; Temporary

 

Tables

Table Name
Statistics
Occurrences in Relationship Graph
RSA Public Private Encryption
5 fields defined, 1 record
RSA Public Private Encryption

Fields

Table Name: RSA Public Private Encryption - 5 Fields
Field NameTypeOptionsCommentsOn LayoutsIn RelationshipsIn ScriptsIn Value Lists
PrivateKeyNormal, TextAuto-Enter:
  • Allow editing
Validation:
  • Only during data entry
Storage:
  • Repetitions: 1
  • Indexing: None
  • Automatically create indexes as needed
  • Index Language: German
      PublicKeyNormal, TextAuto-Enter:
      • Allow editing
      Validation:
      • Only during data entry
      Storage:
      • Repetitions: 1
      • Indexing: None
      • Automatically create indexes as needed
      • Index Language: German
          InputTextNormal, TextAuto-Enter:
          • Allow editing
          Validation:
          • Only during data entry
          Storage:
          • Repetitions: 1
          • Indexing: None
          • Automatically create indexes as needed
          • Index Language: German
              EncryptedTextNormal, TextAuto-Enter:
              • Allow editing
              Validation:
              • Only during data entry
              Storage:
              • Repetitions: 1
              • Indexing: None
              • Automatically create indexes as needed
              • Index Language: German
                  DecryptedTextNormal, TextAuto-Enter:
                  • Allow editing
                  Validation:
                  • Only during data entry
                  Storage:
                  • Repetitions: 1
                  • Indexing: None
                  • Automatically create indexes as needed
                  • Index Language: German

                      Layout Objects: RSA Public Private Encryption

                      Regular Fields

                      Field Name: RSA Public Private Encryption::PrivateKey
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 114 pt
                      • Left: 468 pt
                      • Bottom: 200 pt
                      • Right: 805 pt
                      • Anchoring: Right, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      Yes

                      Field Name: RSA Public Private Encryption::PublicKey
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 24 pt
                      • Left: 468 pt
                      • Bottom: 110 pt
                      • Right: 805 pt
                      • Anchoring: Right, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      Yes

                      Field Name: RSA Public Private Encryption::InputText
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 24 pt
                      • Left: 138 pt
                      • Bottom: 152 pt
                      • Right: 391 pt
                      • Anchoring: Left and Right, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      Yes

                      Field Name: RSA Public Private Encryption::EncryptedText
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 156 pt
                      • Left: 138 pt
                      • Bottom: 284 pt
                      • Right: 391 pt
                      • Anchoring: Left and Right, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      Yes

                      Field Name: RSA Public Private Encryption::DecryptedText
                      Field PropertiesCoordinatesField FormatField BehaviorQuick Find
                      • Top: 288 pt
                      • Left: 138 pt
                      • Bottom: 416 pt
                      • Right: 391 pt
                      • Anchoring: Left and Right, Top
                      Field Format:
                      • Edit Box
                      Field Behavior:
                      • Allow field to be entered: In Find mode, In Browse mode
                      • Touch keyboard type: System Default
                      • Go to next field using: Tab key
                      Yes

                      Buttons

                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Private Key Encrypt
                      • Top: 296 pt
                      • Left: 468 pt
                      • Bottom: 324 pt
                      • Right: 609 pt
                      • Anchoring: Right, Top
                      Perform Script [ “Private Key Encrypt” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Public Key Encrypt
                      • Top: 341 pt
                      • Left: 468 pt
                      • Bottom: 369 pt
                      • Right: 609 pt
                      • Anchoring: Right, Top
                      Perform Script [ “Public Key Encrypt” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Public Key Decrypt
                      • Top: 296 pt
                      • Left: 635 pt
                      • Bottom: 324 pt
                      • Right: 776 pt
                      • Anchoring: Right, Top
                      Perform Script [ “Public Key Decrypt” ]

                      Scripts:


                      Button PropertiesCoordinatesScript/Script Step
                        Type:
                      • Text: Private Key Decrypt
                      • Top: 341 pt
                      • Left: 635 pt
                      • Bottom: 369 pt
                      • Right: 776 pt
                      • Anchoring: Right, Top
                      Perform Script [ “Private Key Decrypt” ]

                      Scripts:


                      Script Hierarchy

                      Private Key Encrypt
                      Private Key Decrypt
                      Public Key Encrypt
                      Public Key Decrypt

                      Next Script: [Private Key Decrypt]
                      Script NamePrivate Key Encrypt
                      Run script with full access privilegesOff
                      Siri Shortcut VisibleOff
                      Include In MenuYes
                      Layouts that use this script
                      Scripts that use this script
                        Script Definition
                        Script Steps
                        • Set Variable [ $r; Value:MBS( "RSA.PrivateEncrypt"; "Text"; RSA Public Private Encryption::InputText; "UTF-8"; "Text"; RSA Public Private Encryption::PrivateKey; "UTF-8"; "Base64") ]
                        • If [ MBS("IsError") ]
                        • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                        • Else
                        • Set Field [ RSA Public Private Encryption::EncryptedText; $r ]
                        • End If
                        Fields used in this script
                        Scripts used in this script
                          Layouts used in this script
                            Tables used in this script
                            Table occurrences used by this script
                            Custom Functions used by this script
                              Custom menu set used by this script

                                Previous Script: [Private Key Encrypt]Next Script: [Public Key Encrypt]
                                Script NamePrivate Key Decrypt
                                Run script with full access privilegesOff
                                Siri Shortcut VisibleOff
                                Include In MenuYes
                                Layouts that use this script
                                Scripts that use this script
                                  Script Definition
                                  Script Steps
                                  • Set Variable [ $r; Value:MBS( "RSA.PrivateDecrypt"; "base64"; RSA Public Private Encryption::EncryptedText; ""; "Text"; RSA Public Private Encryption::PrivateKey; "UTF-8"; "Text"; "UTF-8") ]
                                  • If [ MBS("IsError") ]
                                  • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “Yes”; Button 2: “Cancel”, Commit: “No” ]
                                  • Else
                                  • Set Field [ RSA Public Private Encryption::DecryptedText; $r ]
                                  • End If
                                  Fields used in this script
                                  Scripts used in this script
                                    Layouts used in this script
                                      Tables used in this script
                                      Table occurrences used by this script
                                      Custom Functions used by this script
                                        Custom menu set used by this script

                                          Previous Script: [Private Key Decrypt]Next Script: [Public Key Decrypt]
                                          Script NamePublic Key Encrypt
                                          Run script with full access privilegesOff
                                          Siri Shortcut VisibleOff
                                          Include In MenuYes
                                          Layouts that use this script
                                          Scripts that use this script
                                            Script Definition
                                            Script Steps
                                            • Set Variable [ $r; Value:MBS( "RSA.PublicEncrypt"; "Text"; RSA Public Private Encryption::InputText; "UTF-8"; "Text"; RSA Public Private Encryption::PublicKey; "UTF-8"; "Base64") ]
                                            • If [ MBS("IsError") ]
                                            • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “No”; Button 2: “Cancel”, Commit: “No” ]
                                            • Else
                                            • Set Field [ RSA Public Private Encryption::EncryptedText; $r ]
                                            • End If
                                            Fields used in this script
                                            Scripts used in this script
                                              Layouts used in this script
                                                Tables used in this script
                                                Table occurrences used by this script
                                                Custom Functions used by this script
                                                  Custom menu set used by this script

                                                    Previous Script: [Public Key Encrypt]
                                                    Script NamePublic Key Decrypt
                                                    Run script with full access privilegesOff
                                                    Siri Shortcut VisibleOff
                                                    Include In MenuYes
                                                    Layouts that use this script
                                                    Scripts that use this script
                                                      Script Definition
                                                      Script Steps
                                                      • Set Variable [ $r; Value:MBS( "RSA.PublicDecrypt"; "base64"; RSA Public Private Encryption::EncryptedText; ""; "Text"; RSA Public Private Encryption::PublicKey; "UTF-8"; "Text"; "UTF-8") ]
                                                      • If [ MBS("IsError") ]
                                                      • Show Custom Dialog [ Title: "Error"; Message: $r; Default Button: “OK”, Commit: “No”; Button 2: “Cancel”, Commit: “No” ]
                                                      • Else
                                                      • Set Field [ RSA Public Private Encryption::DecryptedText; $r ]
                                                      • End If
                                                      Fields used in this script
                                                      Scripts used in this script
                                                        Layouts used in this script
                                                          Tables used in this script
                                                          Table occurrences used by this script
                                                          Custom Functions used by this script
                                                            Custom menu set used by this script

                                                              Download example: RSA Public Private Encryption

                                                              Used functions: