core/src/main/java/org/sakaiproject/nakamura/api/lite/StorageClientUtils.java
public static String insecureHash(String naked) {
        try {
            return insecureHash(naked.getBytes(UTF8));
        } catch (UnsupportedEncodingException e3) {
            LOGGER.error("no UTF-8 Envoding, get a real JVM, nothing will work here. NPE to come");
            return null;
        }
    }
public static String insecureHash(String naked) {
        try {
            return insecureHash(naked.getBytes(UTF8));
        } catch (UnsupportedEncodingException e3) {
            LOGGER.error("no UTF-8 Envoding, get a real JVM, nothing will work here. NPE to come");
            return null;
        }
    }
public static String insecureHash ( String naked ) { try { return insecureHash ( naked . getBytes ( UTF8 ) ) ; } catch ( UnsupportedEncodingException e3 ) { LOGGER . error ( "no UTF-8 Envoding, get a real JVM, nothing will work here. NPE to come" ) ; return null ; } }
TODO: Unit test
TODO : Unit test