Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4561 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

This topic is 4561 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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