I'm trying to migrate some java encryption code into golang and came across this
Cipher cipher = Cipher.getInstance(RSA_ECB_OAEPWithSHA256AndMGF1Padding);
cipher.init(Cipher.WRAP_MODE, cert);
return cipher.wrap(key);
I'm trying to find any implementation of this in go. Any help would be appreciated. Thanks.