Legacy Knowledge Base
Published Jun. 30, 2025

Cryptography Encryption Algorithm used in Liferay

Written By

Christopher Czibere

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Which algorithms are used as part of cryptography in standard Liferay implementation?

  • What is key rotation approach?

Environment

  • Liferay DXP 7.1

Resolution

  • Liferay DXP and Liferay Portal utilize industry-standard, government-grade encryption technologies, including advanced algorithms such as AES, 3-DES, and RSA.
  • Additionally, they ship with robust user management and security features including password policies, user reminder settings, complete login security procedures, and other varying layers of security controls that allow customizable access to sensitive information.
  • The default algorithm is PBKDF2WithHmacSHA1/160/128000, generating 160-bit hashes using 128,000 rounds.
  • This can be overridden to use different ones, for example: 
       passwords.encryption.algorithm=BCRYPT/10
    passwords.encryption.algorithm=MD2
    passwords.encryption.algorithm=MD5
    passwords.encryption.algorithm=NONE
    passwords.encryption.algorithm=SHA
    passwords.encryption.algorithm=SHA-256
    passwords.encryption.algorithm=SHA-384
    passwords.encryption.algorithm=SSHA
    passwords.encryption.algorithm=UFC-CRYPT
  • Key rotation is the customers' procedure, Liferay does not have overview of this.

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base