OpenSSL includes algorithm identifiers and encapsulating information by default, and the .NET ExportRSAPublicKey method excludes them. If you use rsa.ExportSubjectPublicKeyInfo() they will be more similar in size.