{"id":20826666,"url":"https://github.com/deepakbhalla/springboot-jasypt-encryption-decryption","last_synced_at":"2025-10-08T23:35:24.760Z","repository":{"id":203699959,"uuid":"710199246","full_name":"deepakbhalla/springboot-jasypt-encryption-decryption","owner":"deepakbhalla","description":"Application to demonstrate the use of Jasypt to encrypt and decrypt and sensitive value in the application.","archived":false,"fork":false,"pushed_at":"2023-10-26T14:57:00.000Z","size":228,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T23:35:24.400Z","etag":null,"topics":["decryption","encryption","jasypt","jasypt-command-line","openapi3","security","springboot-jasypt","swagger"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepakbhalla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-26T08:11:19.000Z","updated_at":"2024-10-29T21:41:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"8eb3aa2e-0788-43b7-837c-53dc4007c343","html_url":"https://github.com/deepakbhalla/springboot-jasypt-encryption-decryption","commit_stats":null,"previous_names":["deepakbhalla/springboot-jasypt-encryption-decryption"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deepakbhalla/springboot-jasypt-encryption-decryption","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakbhalla%2Fspringboot-jasypt-encryption-decryption","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakbhalla%2Fspringboot-jasypt-encryption-decryption/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakbhalla%2Fspringboot-jasypt-encryption-decryption/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakbhalla%2Fspringboot-jasypt-encryption-decryption/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepakbhalla","download_url":"https://codeload.github.com/deepakbhalla/springboot-jasypt-encryption-decryption/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakbhalla%2Fspringboot-jasypt-encryption-decryption/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000733,"owners_count":26082862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["decryption","encryption","jasypt","jasypt-command-line","openapi3","security","springboot-jasypt","swagger"],"created_at":"2024-11-17T23:09:43.433Z","updated_at":"2025-10-08T23:35:24.737Z","avatar_url":"https://github.com/deepakbhalla.png","language":"Java","readme":"# springboot-jasypt-encryption-decryption\r\n \r\nApplication to demonstrate the use of\r\nJasypt to encrypt and decrypt and sensitive value in the application.\r\n\r\n### What is Jasypt\r\n\r\nJasypt stands for 'Java Simplified Encryption'\r\n\r\nJasypt is a java library which allows the developer to add basic encryption capabilities to his/her projects with \r\nminimum effort, and without the need of having deep knowledge on how cryptography works.\r\n\r\n### Spring Boot Jasypt Dependency\r\n\r\n![img.png](screenshots/jasypt_mvn_dependency.png)\r\n\r\n### Jasypt Secret Password\r\n\r\nProvided as VM argument: -Djasypt.encryptor.password=mypassword\r\n\r\n![jasypt_password_vm_argument.png](screenshots%2Fjasypt_password_vm_argument.png)\r\n\r\n### OpenAPI Specification\r\n\r\nOpenAPI swagger shows the API which uses Jasypt to encrypt and decrypt the input provided by user.\r\n\r\nhttp://localhost:8080/my-application/swagger-ui/index.html\r\n\r\n![open_api_swagger.png](screenshots%2Fopen_api_swagger.png)\r\n\r\n### Encrypt using Jasypt from Command Prompt\r\n\r\n- Command:\r\n```\r\njava -cp jasypt-1.9.3.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input=\"Deepak\" password=\"hello\" algorithm=PBEWithMD5AndDES\r\n```\r\n\r\n![jasypt_encrypt_command_line.png](screenshots%2Fjasypt_encrypt_command_line.png)\r\n\r\n### Decrypt using Jasypt from Command Prompt\r\n\r\n- Command:\r\n```\r\njava -cp jasypt-1.9.3.jar org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI input=\"I4pJwX8EitE6PO1fLouLMw==\" password=\"hello\" algorithm=PBEWithMD5AndDES\r\n```\r\n\r\n![jasypt_decrypt_command_line.png](screenshots%2Fjasypt_decrypt_command_line.png)\r\n\r\nReferences:\r\n\r\nhttp://www.jasypt.org/\r\n\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepakbhalla%2Fspringboot-jasypt-encryption-decryption","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepakbhalla%2Fspringboot-jasypt-encryption-decryption","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepakbhalla%2Fspringboot-jasypt-encryption-decryption/lists"}