You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/01/02 20:10:00 UTC

[jira] [Resolved] (HBASE-23628) Remove Apache Commons Digest Base64

     [ https://issues.apache.org/jira/browse/HBASE-23628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Stack resolved HBASE-23628.
-----------------------------------
    Fix Version/s: 3.0.0
     Release Note: 
From the PR:

"Yes. The two create the same output... I just wrote a small test suite to increase my confidence on that. I generated many tens of millions of random byte patterns and compared the output of the two algorithms. They came back identical every time.

"Just in case any inquiring minds would like to know, there is no longer an encoding required when generating the strings. The JDK implementation specifically specifies that strings returned are StandardCharsets.ISO_8859_1. This does not change anything because UTF8 and ISO_8859 overlap for the limited character set (64 characters) the encoding uses."
       Resolution: Fixed

Thanks for the patch [~belugabehr] and the work done to verify the change.

> Remove Apache Commons Digest Base64
> -----------------------------------
>
>                 Key: HBASE-23628
>                 URL: https://issues.apache.org/jira/browse/HBASE-23628
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> Use the native JDK Base64 implementation instead.  Most places are using the JDK version, but a couple of spots were missed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)