Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RSA encryptor Plugin for filemaker

Featured Replies

  • Newbies

I‚m looking for a plugin that encrypts a string of data with the RSA algorithm using private/public Keys.

The plugin should generate both Keys in a FMP file, stored in global fields, and have a function that would encrypt data using RSA and return a Base64 encoded version of the encrypted data string with 172-base64 characters.

Also need to export Public Key as a file named PublicKey.txt as follows:

-----BEGIN PUBLIC KEY-----

MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCyC3KJP/pLZYYVYsGY7m9Q9XyV

U4hEPAUkmIcAKS1MZ+qsB3E8lQVpjwU2nZt/CnDCqMmjQ+VN+bEyOR2gN+U0tEPH

wcwsT+9XPPN5nZa4Uhe9jXl9f3udx9xe4V11JnypNtPcW3pbNvRPnvbbaaRUp8tG

bk+bijQ8rioUJfYU/QIDAQAB

-----END PUBLIC KEY-----

This file should have 216-base64 characters string with 272 bytes size.

Data to be encrypted is quite long and should look like:

record 1: 2012;2012-05-01T18:24:13;FACT 1/2012;1700.00

record 2: 2012;2012-05-02T15:27:18;FACT 2/2012;1250.00;(plus encrypted data from record 1)

record 3: 2012;2012-06-02T13:22:10;FACT 3/2012;10.00;(plus encrypted data from record 2)

(...)

For the creation of the certificate from the private key, the RSA algorithm shall be used with the following specifications in the parameters:

- Format = x.509

- Charset = UTF-8

- Encoding = Base-64

- Endianess =Little endian

- OAEP Padding = PKCS1 v1.5 padding

- Size of the private key = 1024 bits

- Format of the Hash of the message = SHA-1

I Have already a custom plugin version made by 360works that works quite well, except on the number of characters returned and also it returns an ERROR when the size of the string to encrypt is too long.

This job didn’t correctly correspond to our agreement because after the job was supposed to be done – and duly paid for, I was asked for extra time to fix the plugin accordingly to our needs, "if I wouldn't get another developer" because they were too busy!

Hope this is clear. Please get me a developer contact if you think this is possible to do.

Thanks,

Jose

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.