UDF for encryption and decryption in redshift

0

I need to create a aes encryption ECB UDF in the redshift. To achieve this, i have imported pycryptodome zip file in the S3 with the name Crypto.zip and create library in the redshift.

When i try to use this UDF, i am getting, the below error:

ERROR: OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Not found '_raw_ecb.so', Not found '_raw_ecbmodule.so'. Please look at svl_udf_log for more information Detail: ----------------------------------------------- error: OSError: Cannot load native module 'Crypto.Cipher._raw_ecb': Not found '_raw_ecb.so', Not found '_raw_ecbmodule.so'. Please look at svl_udf_log for more information code: 10000 context: UDF query: location: udf_client.cpp:366 process: 

I need to use pycryptodome pip package only,

1 Antwort
0
profile pictureAWS
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen