You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@drill.apache.org by Hoa Le <hl...@scalefree.com> on 2021/05/26 13:55:06 UTC

Cryptographic Function AES

Hello,
my name is Hoa Le and I am currently working on my thesis regarding an
encryption process that plans to implement data decryption via Apache Drill
with the AES algorithm. However, the documentation is relatively short and
I don't quite understand how the output is generated and would like to ask
if it is possible to provide further information which functions Drill is
using (is it using salt/nonce/tags?, which AES Mode does it use?, etc.)

I would be grateful if You could provide some further information regarding
that cryptographic function.

Kind regards,
Hoa Le

-- 

Hoa Le
Technical Solutions Specialist


Scalefree International GmbH

Bahnhofstraße 8, 30159 Hannover, Germany



*hle@scalefree.com <mo...@scalefree.com>*

www.scalefree.com


Sitz der Gesellschaft (Company Headquarters): Hannover, Germany
Registergericht (Registration): Amtsgericht Hannover HRB 213578

Geschäftsführer: Michael Olschimke, Christof Wenzeritt


CEO: Michael Olschimke & Christof Wenzeritt

CTO: Dan Linstedt

Re: Cryptographic Function AES

Posted by luoc <lu...@apache.org>.
Hi Hoa,
  There are some resources about the internal of Drill. You can also find the docs of UDF at the Paul wiki.
  https://github.com/apache/drill/issues/2233

> 在 2021年5月26日,21:55,Hoa Le <hl...@scalefree.com> 写道:
> 
> Hello,
> my name is Hoa Le and I am currently working on my thesis regarding an
> encryption process that plans to implement data decryption via Apache Drill
> with the AES algorithm. However, the documentation is relatively short and
> I don't quite understand how the output is generated and would like to ask
> if it is possible to provide further information which functions Drill is
> using (is it using salt/nonce/tags?, which AES Mode does it use?, etc.)
> 
> I would be grateful if You could provide some further information regarding
> that cryptographic function.
> 
> Kind regards,
> Hoa Le
> 
> -- 
> 
> Hoa Le
> Technical Solutions Specialist
> 
> 
> Scalefree International GmbH
> 
> Bahnhofstraße 8, 30159 Hannover, Germany
> 
> 
> 
> *hle@scalefree.com <mo...@scalefree.com>*
> 
> www.scalefree.com
> 
> 
> Sitz der Gesellschaft (Company Headquarters): Hannover, Germany
> Registergericht (Registration): Amtsgericht Hannover HRB 213578
> 
> Geschäftsführer: Michael Olschimke, Christof Wenzeritt
> 
> 
> CEO: Michael Olschimke & Christof Wenzeritt
> 
> CTO: Dan Linstedt

Re: Cryptographic Function AES

Posted by Charles Givre <cg...@gmail.com>.
Hi Hoa, 
Thanks for your interest in Drill!  The AES function is implemented as a user defined function (UDF) and the code for that can be found here [1].  Drill uses Apache libraries for the actual encryption/decryption but if you have any suggestions as to how to improve the function please let us know!
-- C


[1]: https://github.com/apache/drill/blob/e7f8bc740d89f326a2964b79615fa4957e7f911f/contrib/udfs/src/main/java/org/apache/drill/exec/udfs/CryptoFunctions.java#L251-L354 <https://github.com/apache/drill/blob/e7f8bc740d89f326a2964b79615fa4957e7f911f/contrib/udfs/src/main/java/org/apache/drill/exec/udfs/CryptoFunctions.java#L251-L354>




> On May 26, 2021, at 9:55 AM, Hoa Le <hl...@scalefree.com> wrote:
> 
> Hello,
> my name is Hoa Le and I am currently working on my thesis regarding an
> encryption process that plans to implement data decryption via Apache Drill
> with the AES algorithm. However, the documentation is relatively short and
> I don't quite understand how the output is generated and would like to ask
> if it is possible to provide further information which functions Drill is
> using (is it using salt/nonce/tags?, which AES Mode does it use?, etc.)
> 
> I would be grateful if You could provide some further information regarding
> that cryptographic function.
> 
> Kind regards,
> Hoa Le
> 
> -- 
> 
> Hoa Le
> Technical Solutions Specialist
> 
> 
> Scalefree International GmbH
> 
> Bahnhofstraße 8, 30159 Hannover, Germany
> 
> 
> 
> *hle@scalefree.com <mo...@scalefree.com>*
> 
> www.scalefree.com
> 
> 
> Sitz der Gesellschaft (Company Headquarters): Hannover, Germany
> Registergericht (Registration): Amtsgericht Hannover HRB 213578
> 
> Geschäftsführer: Michael Olschimke, Christof Wenzeritt
> 
> 
> CEO: Michael Olschimke & Christof Wenzeritt
> 
> CTO: Dan Linstedt