# Update Password Encryption Method

**URL:** <https://meta.discourse.org/t/update-password-encryption-method/316314>\
**Category:** Development\
**Created:** [July 15, 2024, 11:54am UTC](https://meta.discourse.org/t/update-password-encryption-method/316314 "2024-07-15T11:54:35Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gambhir-makwana](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gambhir-makwana/32/494314_2.png) [@gambhir-makwana](https://meta.discourse.org/u/gambhir-makwana)\
**Post date:** [July 15, 2024, 11:54am UTC](https://meta.discourse.org/t/update-password-encryption-method/316314/1 "2024-07-15T11:54:35Z")

</div>

Hello [@everyone](https://meta.discourse.org/groups/everyone)

I need to implement custom code-level and database-level changes in my Discourse Rails application to meet my specific requirements.

Update password encryption method. Currently, Discourse uses “PBKDF2” for password encryption.  
As per my requirement, I need to switch to “MD5” instead of “PBKDF2”.

I have setup code in my local environment and also, deployed discourse the production environment using Docker.

When I update the local code based on my requirement then I need to redeploy my updated code in the production environment but currently, I have set the production environment discourse official docker file so I need to generate a new docker file how I can create a new docker file and how to access PostgreSQL database discourse application production environment

---

_[View the full topic](https://meta.discourse.org/t/update-password-encryption-method/316314)._
