asymmetric encryption
Posted: 18 Jul 2015, 20:14
Hello,
In the OPCUA specification we should use an Asymmetric encryption (in my case RSA 256 oaep) to encrypt the "OpenSecureChannel request" and "OpenSecureChannel response".
My OpenSecureChannel request/response size = 2000 octets
RSA Algorithm support bloc size of ~217 octets or something like that (RSA blocSize = RSA_Size(key) - paddingSize)
How should i do to encrypt my request and my response
Should i use an operation mode (CBC for example) to split my plainText into a small blocs ?? Am i respecting the specification by doing that
Thank you
In the OPCUA specification we should use an Asymmetric encryption (in my case RSA 256 oaep) to encrypt the "OpenSecureChannel request" and "OpenSecureChannel response".
My OpenSecureChannel request/response size = 2000 octets
RSA Algorithm support bloc size of ~217 octets or something like that (RSA blocSize = RSA_Size(key) - paddingSize)
How should i do to encrypt my request and my response
Should i use an operation mode (CBC for example) to split my plainText into a small blocs ?? Am i respecting the specification by doing that
Thank you