Can i encrypt Data WIth RSA/ECB/PKCS1Padding in OB2?

Can i encrypt Data WIth RSA/ECB/PKCS1Padding in OB2??

Usually ECB/PKCS1 has to do with AES, since they determine how to create the blocks that are then encrypted by a symmetric block cipher like AES. Are you really sure you need RSA for this?

yes i am sure RSA/ECB/PKCS1Padding

Please provide the link to some online website that does this encryption so I can have a reference when implementing it.

Also I suggest to add [</>] this tag in input block ,in RSA Func.

And Also in few Crypto Blocks Add :white_check_mark: Output As Base64 like AES Enc. ,RSA Enc. etc…


The tag you mention is just for strings (interpolation), it doesn’t make sense to have it with byte arrays. I’m pretty sure the RSA block accepts byte arrays and returns byte arrays. Anyways, please open an issue on github about the implementation of the ECB/PKCS1 even though I’m still very perplexed about its actual utility.