> For the complete documentation index, see [llms.txt](https://klouddb.gitbook.io/klouddb_shield/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://klouddb.gitbook.io/klouddb_shield/password-encryptor-scram-sha-256.md).

# Password Encryptor(scram-sha-256)

When creating a new user in Postgres, there is a risk of password leakage in the logs. For more information on this topic, please watch <https://www.youtube.com/watch?v=RkzJXA1mKZI> &#x20;

You can avoid this situation by using KloudDB Shield to generate an encrypted password. Once the encrypted password is generated, you can create a new user as shown below

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2FwtumdJjvyPuHHAj94Gnf%2Fimage.png?alt=media&amp;token=d739b64d-5de0-46c4-966e-0234c81f7f31" alt=""><figcaption></figcaption></figure>

**How do you generate encrypted password using KloudDB Shield ?**

You can use "Password Manager" Option followed by "Password generator" or  "Encrypt a password(scram-sha-256)"

<figure><img src="https://3013412235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj94nGPKUS9dlzKveRYHc%2Fuploads%2FQa9NgDJ7NbpmVzL3MNKO%2Fimage.png?alt=media&amp;token=0a2a02f9-9947-4f33-9e44-32ffc4346f39" alt=""><figcaption></figcaption></figure>
