Skip to content

Encrypts clear text in RSA/ECB/OAEPWithSHA-256AndMGF1Padding format

Notifications You must be signed in to change notification settings

oladipo/RSA-Encryptor

Repository files navigation

RSA-Encryptor

A Spring Boot rest service that encrypts clear text in RSA/ECB/OAEPWithSHA-256AndMGF1Padding format.

HOW TO USE

curl --location --request POST 'http://localhost:8080/api/v1/encrypt/'
--header 'Content-Type: application/json'
--data-raw '{ "publicKeyModulus": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC1kn4MmocoCXnuMeidWV4BjJTvLPxqLsGigzlRJ1a3JYbRIzmS5DvodT92xRoQav46DlmXV96KHtTb3US+6vNloV9rWbdH7JiQOSk4f8tk6BCpYp4aEP+1J8J5SfjnzrsJcF1lUnuxM+AAez44GLOWiDRwfsjU6XtXbXdN9cuCWQIDAQAB", "publicKeyExponent":"AQAB", "data": "qwerty" }'

About

Encrypts clear text in RSA/ECB/OAEPWithSHA-256AndMGF1Padding format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published