Constantsยง
- MD5_ENCRYPTED_ ๐PREFIX 
- OAUTH_ISSUER_ KEY 
- OAUTH_JWKS_ URL_ KEY 
- SHA256_ENCRYPTED_ ๐PREFIX 
- VALID_MD5_ ๐ENCRYPTED_ LEN 
- VALID_SHA256_ ๐ENCRYPTED_ LEN 
Functionsยง
- build_oauth_ info 
- Build AuthInfoforOAuth.
- encrypt_default ๐
- Encrypt the password with MD5 as default.
- encrypted_password 
- Try to extract the encryption password from given password. The password is always stored
encrypted in the system catalogs. The ENCRYPTED keyword has no effect, but is accepted for
backwards compatibility. The method of encryption is by default SHA-256-encrypted. If the
presented password string is already in MD5-encrypted or SHA-256-encrypted format, then it is
stored as-is regardless of password_encryption(since the system cannot decrypt the specified encrypted password string, to encrypt it in a different format).
- encrypted_raw_ password 
- Encrypted raw password from auth info.
- md5_hash 
- Encrypt โpassword+nameโ with MD5.
- md5_hash_ with_ salt 
- Encrypt the stored password with given salt, used for user authentication.
- sha256_hash 
- Encrypt โpassword+nameโ with SHA-256.
- valid_md5_ ๐password 
- valid_sha256_ ๐password