Encoding prefix
- Last Updated: January 23, 2026
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
Use encoding prefixes to secure sensitive values for use within OpenEdge components without exposing those values as clear-text values. You can encode:
- Password—A mix of letters, numbers, and symbols.
- Passphrase—A quoted value that is typically easy to remember, but significantly harder to crack through brute-force attacks due to its length and the entropy introduced by using multiple words. A passphrase may include white space.
How encoding works
Encoding includes:
- Generating an encoded value:
- For example using the
genpasswordutility to encode a password.
- For example using the
- Using an encoded value:
- For example, using encoded passwords in configuration files or runtime inputs allowing OpenEdge to run applications without exposing values as clear text.
Supported prefixes
Select a prefix based on your security needs and compatibility. For example, one encoding prefix may offer stronger encryption-based encoding than another, but may not be supported in older releases. Sorted by encoding strength, this table lists the supported prefixes.
| Strength | Prefix | Details |
|---|---|---|
| Strong | oeph{0-9} |
|
| Strong | ae2{b|h}{1-9} |
|
| Medium | ae1{b|h}{1-9} |
|
| Pass through | nopr0 |
|
OpenEdge raises a runtime error if you omit, use an invalid, or specify an unsupported encoding prefix.
For command-line tools such as genpassword, enter genpassword -prefix
--help to view the list of supported encoding prefixes.
For more information about genpassword, see genpassword.