@Service public class Md5EncodeServiceImpl extends Object implements Md5EncodeService
Constructor and Description |
---|
Md5EncodeServiceImpl(com.fasterxml.jackson.databind.ObjectMapper mapper) |
Modifier and Type | Method and Description |
---|---|
String |
encode(Object entity)
Generates the Base64 encoded 128 bit MD5 digest of the entire content string suitable for the
Content-MD5 header value.
|
public Md5EncodeServiceImpl(com.fasterxml.jackson.databind.ObjectMapper mapper)
public String encode(Object entity)
encode
in interface Md5EncodeService
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.