All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.manydesigns.portofino.shiro.PlaintextHashFormat Maven / Gradle / Ivy

package com.manydesigns.portofino.shiro;

import org.apache.shiro.crypto.hash.Hash;
import org.apache.shiro.crypto.hash.format.HashFormat;

/**
 * @author Angelo Lupo          - [email protected]
 * @author Giampiero Granatella - [email protected]
 * @author Emanuele Poggi       - [email protected]
 * @author Alessio Stalla       - [email protected]
 */
public class PlaintextHashFormat implements HashFormat {
    public static final String copyright =
            "Copyright (C) 2005-2017 ManyDesigns srl";

    @Override
    public String format(Hash hash) {
        return new String(hash.getBytes());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy