Snmp user & password

hello
i have to setup snmp v3.
it should be user name + password md5.
how to convert my password to md5

Without any "salting"? In Bash I'd just:

# printf is used to avoid possible trailing newline from echo,
# or just use echo -n instead
printf '%s' 'mY_c0MpL1caT3D-P@55w0Rd' | md5sum | cut -d' ' -f1