Public & Private keys
Private key : -----BEGIN PRIVATE KEY----- MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAMWWIqMzehNSxpY0 HADeyZ2qhaFVmC4CEDaumjWDCiqiM27zpRe/SDjaWfTSBoGXLCWG2EwFb5oQHI8v 2ryYjFG7kPaQlyLiL9SAUs040QhxLsGJq969DOa3Yd9ti2vjuJ8AGaXNDzOjOeox 4Nvmwke1pJDupGlmYVh9auu0D7sTAgMBAAECgYAjWwUhrOFoOcSdNf/YzATJuKym vNk5Slc6Ya3oa2VTUajgbqqZADpdKf00yKwvXiyhHmrv130r1Tw3BvoeCzH4UZQO kqCM3XtSE1dAY3I405W+pWnDyhJz1rEsNkvZsadPIpND+WRlP8iYAzNsg4Icpfsy k31YGf4Q/gMJcmJQoQJBAOY5sYw/co2Qdz1IHK6XfWcqZTJQg/tycA1u1lSX7N69 lgE3ib59RT0xxPXYc0j60IagOR4t8bbsQbIe0Z+pDrECQQDbtQERMpxa/ijgmnIi ebeewQKd29HG2+78yzhDBCF9J40Rx3yj4QHYW9iSeFC2yFtvjLl3cSDLdii2/qk1 pz8DAkEAi0BqO8JEr4uqE88CSjgnCbeC7iP1MKnPTNC1owUhqLhTevj0v9tVfeYU k/8P/Bx49HUFF1QC1/me4vXxJPlEgQJAeP+ld9A0thQ1dQT6CKyaCK9pfoC6dldX thdBg/75ZpDqqzj/Fs3rkzl5+6iRYyjS2otY9UPzeLo5UBbOH8Nc+wJBANkq/+/5 hEeAglpL8mWNuus/N54uS8Rqgs7+Gnaq0uLB0NDFFSufJJhEc3sLBapeWS4JtzuU y0LQ5VnTDQi2PBA= -----END PRIVATE KEY-----
Public key : -----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDFliKjM3oTUsaWNBwA3smdqoWh VZguAhA2rpo1gwoqojNu86UXv0g42ln00gaBlywlhthMBW+aEByPL9q8mIxRu5D2 kJci4i/UgFLNONEIcS7BiavevQzmt2HfbYtr47ifABmlzQ8zoznqMeDb5sJHtaSQ 7qRpZmFYfWrrtA+7EwIDAQAB -----END PUBLIC KEY-----
The data : plaintext data goes here
Encrypted data : wOaAl9sbCC9JeT+SyDtySSI0PTkoKLyGZwZiUBR0brWwdIQ9JDX/AZvlaV+5xL1H5UzlWs9I/iZSDawTNM3bJE4yIQQ4v2RVPlKiVmFJX1y7dZwQZOGSwL4Mke293mNucrbev7ocYpqzKNkXTicPdVqMQMD24s4FC1VM+3siXks=
Decrypted data : plaintext data goes here
Source ➠ https://www.php.net/manual/en/function.openssl-pkey-new.php
⇪ Jul 04 2022 17:04:42