dbms_crypto.sign (sign_sha256_rsa) base64 result is different than same sign with nodejs crypto
I try to sign simple text using dbms_crypto.sign package but when I do it with a nodejs script then I get different results. Main purpose of this is to sign and get DKIM signature, when I do it with a nodejs then its ok and will pass example Gmail DKIM check, but when I do it with a plsql then I get different signature result and there is something wrong with... but what ??? # plslq script with test private key is here: https://livesql.oracle.com/ords/livesql/s/ccwff37zhsw1nncjxddtjslao <code>declare l_privateKey varchar2(4000) := replace(replace(replace(replace( '-----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAw+ImPl9v2JVqN0y5PNZIgSpk6hJnWhZfgkgE9ZPfoWCJkbOi EXPUtAhUN6xjv2OhnjUQ4/EDMiQmvUzYu7cacUxD/6mHDSqVmhy3PvayI2aeipwN gP5YWjlWzdWixnbx8HzuD1MssBo0k4R9CygwHKzpGRhwW59m+J6iZ0mGiIb3X3BP fD0RF8a9uuUfGpgqyUHubQrdTHBExn+Fte49xldkrHQK2JdNtf4NTyRFg60GGz3j w83wQhN6zbEkdQ4TZ8ceWwZ8UQnbq5YEie29uvn8ErNTl3UJR+ggBCszTrvFUAe1 6E4CRLWY0GRn4K9NN9f9mrrhFwBI3yIDk3HZIQIDAQABAoIBAQCfb9CPDiE8WYll z3YqtYO4Vqhi+W3UHsfIhBQ9SwpIEQqIZHzy1aP4kZry4ccivdaLrke8MKzYQCKk DAuQ5t2IAHqMexEov1ObZ+ojPqsKM3mx+ojnSJ7jeS5VRaFDBwewJg+iu6FxCTNo KvuYfDKE9JyaR5EUkm8+x+gKSAdP0ZakkBEUFX/pU75dLCNEdDXqjA5b/pc6y+eQ TJs1n+1+3v6PGllezjKbMOOpxu6y5hagP8cOWQlbR44o+aChqAkH43fJK5PRP56g vdtP+HcPWdIvSseIguMQF5Gf2RY7Edk27bfMBiGsJU79UQJMQusH+AETG4ZAX/9H pQQiHsJtAoGBAOR2h0BrJ5eQwOqRLnUj49Z0PnJNSTJeo8PjhvArdV9J9cf+YuJW 3gcBC1cjE9JF4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