cljk opened a new pull request #24: Base64 should be open for different 
alphabets
URL: https://github.com/apache/commons-codec/pull/24
 
 
   Currently I´m trying to write a Linux shadow-file - the passwords are stored 
as Base64-ecoded (hashes). But the alphabet of this Base64 is different:
   
   see 
[www.linuxquestions.org/questions/linux-security-4/how-can-i-convert-a-sha-512-etc-shadow-hash-to-base64-4175477045/](https://www.linuxquestions.org/questions/linux-security-4/how-can-i-convert-a-sha-512-etc-shadow-hash-to-base64-4175477045/)
   ` A base 64 encoding is used to store password hashes computed with
   crypt in the /etc/passwd. Its alphabet starts with '.' for zero,
    then '/' for one, followed by 0-9, A-Z and a-z.
    Padding is not used.`
   
   So I opened up your Base64 class constructor to accept an alphabet.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to