Package org.spongycastle.crypto.digests

Examples of org.spongycastle.crypto.digests.SHA3Digest


public class SHA3Helper {
 
  private static int DEFAULT_SIZE = 256;
 
    public static String sha3String(String message) {
        return sha3String(message, new SHA3Digest(DEFAULT_SIZE), true);
    }
View Full Code Here


    public static String sha3String(String message) {
        return sha3String(message, new SHA3Digest(DEFAULT_SIZE), true);
    }

    public static String sha3String(byte[] message) {
        return sha3String(message, new SHA3Digest(DEFAULT_SIZE), true);
    }
View Full Code Here

    public static String sha3String(byte[] message) {
        return sha3String(message, new SHA3Digest(DEFAULT_SIZE), true);
    }

    public static byte[] sha3(String message) {
        return sha3(Hex.decode(message), new SHA3Digest(DEFAULT_SIZE), true);
    }
View Full Code Here

    public static byte[] sha3(String message) {
        return sha3(Hex.decode(message), new SHA3Digest(DEFAULT_SIZE), true);
    }

    public static byte[] sha3(byte[] message) {
        return sha3(message, new SHA3Digest(DEFAULT_SIZE), true);
    }
View Full Code Here

    public static byte[] sha3(byte[] message) {
        return sha3(message, new SHA3Digest(DEFAULT_SIZE), true);
    }

    protected static String sha3String(String message, Size bitSize) {
        SHA3Digest digest = new SHA3Digest(bitSize.bits);
        return sha3String(message, digest, true);
    }
View Full Code Here

        SHA3Digest digest = new SHA3Digest(bitSize.bits);
        return sha3String(message, digest, true);
    }

    protected static String sha3String(byte[] message, Size bitSize) {
        SHA3Digest digest = new SHA3Digest(bitSize.bits);
        return sha3String(message, digest, true);
    }
View Full Code Here

        SHA3Digest digest = new SHA3Digest(bitSize.bits);
        return sha3String(message, digest, true);
    }

    protected static String sha3String(String message, Size bitSize, boolean bouncyencoder) {
        SHA3Digest digest = new SHA3Digest(bitSize.bits);
        return sha3String(message, digest, bouncyencoder);
    }
View Full Code Here

        SHA3Digest digest = new SHA3Digest(bitSize.bits);
        return sha3String(message, digest, bouncyencoder);
    }

    protected static String sha3string(byte[] message, Size bitSize, boolean bouncyencoder) {
        SHA3Digest digest = new SHA3Digest(bitSize.bits);
        return sha3String(message, digest, bouncyencoder);
    }
View Full Code Here

TOP

Related Classes of org.spongycastle.crypto.digests.SHA3Digest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.