public String md5Base64Digest ( String signature ) { byte [ ] bytes = md5Digest ( signature . getBytes ( ) ) ; return new String ( Base64 . encodeBase64 ( bytes ) ) ; }
Creates a MD5 digest of the given signature and returns the result as a Base64 - encoded string .