Forum Discussion

mongley's avatar
mongley
New Contributor II
4 years ago

How to encrypt a field using RSA 1024 bit key?

Hello,
I have a requirement to encrypt a field using an RSA 1024 bit key. I have tried using the ‘Encrypt Field’ snap but get an error - Key length not 128/192/256 bits.

Any ideas?

Thanks,
Mark

1 Reply

  • Hi @mongley

    What do you have selected for the Transform Type? (ex: auto). I don’t have that much experience with this snap, but was able to encrypt/decrypt with a 1024-bit RSA key.

    $ openssl x509 -in cert.pem -text -noout | grep "RSA Public-Key"
        RSA Public-Key: (1024 bit)
    

    Is “Key length not 128/192/256 bits” the exact error message? I’ll try to help.