(String user)
| 615 | } |
| 616 | |
| 617 | private static byte[] getSalt(String user) throws NoSuchAlgorithmException { |
| 618 | return MessageDigest.getInstance("SHA256").digest(user.getBytes()); |
| 619 | } |
| 620 | |
| 621 | static String getCloudUser(String user) throws NoSuchAlgorithmException { |
| 622 | return getCloudUser(getSalt(user)); |
no test coverage detected