command line
$DM_HOME/bin/dm_encrypt_password -docbase <docbase name> -rdbms -encrypt <database password>