Ensure both attribute value tag class and type are used.
Require string encoding to be specified in md.update().